zsh_functional/install.sh

12 lines
374 B
Bash
Raw Normal View History

2012-07-10 14:39:13 +00:00
#!/usr/bin/env zsh
[[ ! -d $HOME/.zsh ]] && mkdir $HOME/.zsh
2012-07-10 14:48:04 +00:00
cd $HOME/.zsh && \
git clone https://github.com/yogsototh/zsh_functional.git $HOME/.zsh/functional && \
2012-07-10 14:39:13 +00:00
{
print -- "\n# ZSH Higher Order Functions"
echo '. $HOME/.zsh/functional/load'
2012-07-10 14:48:04 +00:00
} >> ~/.zshrc && \
. $HOME/.zsh/functional/load && \
2012-07-10 14:39:13 +00:00
print -- "\n\nCongratulation: ZSH Higer Order Functions Installed"