zshify 1.0.72 → 1.0.75

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 +5 -4
  2. package/package.json +1 -1
package/bin/script.zsh CHANGED
@@ -3,9 +3,10 @@ mkdir -p ~/.zshify
3
3
  curl -s https://raw.githubusercontent.com/nrjdalal/zshify/master/config/prompt.zsh | cat >~/.zshify/prompt.zsh
4
4
  grep "source ~/.zshify/prompt.zsh" ~/.zshrc || echo "source ~/.zshify/prompt.zsh" >>~/.zshrc
5
5
 
6
- echo
7
- which git &>/dev/null || echo "brew install git"
8
- which cmake &>/dev/null || echo "brew install cmake"
6
+ echo && which brew &>/dev/null && if [[ "$(uname)" == "Darwin" ]]; then
7
+ brew install gh git rsync zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting
8
+ elif [[ "$(uname)" == "Linux" ]]; then
9
+ brew install gh git rsync zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting
10
+ fi
9
11
 
10
- echo
11
12
  echo "$(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.72",
3
+ "version": "1.0.75",
4
4
  "description": "A minimalistic touch to your prompt!",
5
5
  "bin": {
6
6
  "prompt": "bin/script.zsh"