Browse Source

Made installer a bit better

master
Yann Esposito 10 years ago
parent
commit
e82267f252
  1. 8
      install.sh

8
install.sh

@ -1,11 +1,11 @@
#!/usr/bin/env zsh
[[ ! -d $HOME/.zsh ]] && mkdir $HOME/.zsh
cd $HOME/.zsh
git clone https://github.com:yogsototh/zsh_functional.git functional
cd $HOME/.zsh && \
git clone https://github.com/yogsototh/zsh_functional.git $HOME/.zsh/functional && \
{
print -- "\n# ZSH Higher Order Functions"
echo '. $HOME/.zsh/functional/load'
} >> ~/.zshrc
. $HOME/.zsh/functional/load
} >> ~/.zshrc && \
. $HOME/.zsh/functional/load && \
print -- "\n\nCongratulation: ZSH Higer Order Functions Installed"

Loading…
Cancel
Save