zsh_functional/install.sh
2012-07-10 16:39:13 +02:00

11 lines
343 B
Bash

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