zshify 1.0.79 → 1.0.82

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.
Files changed (2) hide show
  1. package/bin/script.zsh +3 -9
  2. package/package.json +1 -1
package/bin/script.zsh CHANGED
@@ -1,14 +1,8 @@
1
1
  #!/bin/zsh
2
2
  mkdir -p ~/.zshify
3
3
  curl -s https://raw.githubusercontent.com/nrjdalal/zshify/master/config/prompt.zsh | cat >~/.zshify/prompt.zsh
4
- grep "source ~/.zshify/prompt.zsh" ~/.zshrc || echo "source ~/.zshify/prompt.zsh" >>~/.zshrc
4
+ grep "source ~/.zshify/prompt.zsh" ~/.zshrc &>/dev/null || echo "source ~/.zshify/prompt.zsh" >>~/.zshrc
5
5
 
6
- echo "\n$(tput setaf 2)zshify enabled, to reload, run -$(tput sgr0) exec zsh"
7
-
8
- which brew &>/dev/null && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
6
+ 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)"\"
9
7
 
10
- # which brew &>/dev/null && if [[ "$(uname)" == "Darwin" ]]; then
11
- # brew install gh git rsync zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting
12
- # elif [[ "$(uname)" == "Linux" ]]; then
13
- # brew install gh git rsync zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting
14
- # fi
8
+ echo "\n$(tput setaf 2)zshify enabled, to reload, run -$(tput sgr0) exec zsh"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zshify",
3
- "version": "1.0.79",
3
+ "version": "1.0.82",
4
4
  "description": "A minimalistic touch to your prompt!",
5
5
  "bin": {
6
6
  "prompt": "bin/script.zsh"