zshify 1.0.85 → 1.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/script.zsh +4 -0
- package/package.json +1 -1
package/bin/script.zsh
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
#!/bin/zsh
|
|
2
2
|
mkdir -p ~/.zshify
|
|
3
|
+
|
|
3
4
|
curl -s https://raw.githubusercontent.com/nrjdalal/zshify/master/config/prompt.zsh | cat >~/.zshify/prompt.zsh
|
|
4
5
|
grep "source ~/.zshify/prompt.zsh" ~/.zshrc &>/dev/null || echo "source ~/.zshify/prompt.zsh" >>~/.zshrc
|
|
5
6
|
|
|
7
|
+
curl -s https://raw.githubusercontent.com/nrjdalal/zshify/master/config/fx.zsh | cat >~/.zshify/fx.zsh
|
|
8
|
+
grep "source ~/.zshify/fx.zsh" ~/.zshrc &>/dev/null || echo "source ~/.zshify/fx.zsh" >>~/.zshrc
|
|
9
|
+
|
|
6
10
|
which brew &>/dev/null || echo "\n$(tput setaf 1)brew not installed! install via -$(tput sgr0)\n/bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\"
|
|
7
11
|
|
|
8
12
|
echo "\n$(tput setaf 2)zshify enabled! to reload, run -$(tput sgr0) exec zsh"
|