From e82267f25250e5ded80f14e4ad7f28ca716964ff Mon Sep 17 00:00:00 2001 From: Yann Esposito Date: Tue, 10 Jul 2012 16:48:04 +0200 Subject: [PATCH] Made installer a bit better --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 install.sh diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 838b691..c1cf687 --- a/install.sh +++ b/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"