Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (13 sloc) 336 Bytes
#!/usr/bin/env zsh
mydir=`dirname $0`
if [[ $mydir = . ]]; then
mydir=`pwd`
fi
dest=$HOME
mkdir -p $HOME/.zsh/
ln -s $mydir/func $HOME/.zsh/func
echo My Directory: $mydir
cp $HOME/.zshenv $HOME/.zshenv.pre_zshkit
cp $HOME/.zshrc $HOME/.zshrc.pre_zshkit
echo "source $mydir/env" > $HOME/.zshenv
echo "source $mydir/rc" > $HOME/.zshrc