Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 580 Bytes
local mydir=`dirname $0`
if [[ -f $mydir/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh ]]; then
source $mydir/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
elif [[ -f /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
if [[ -f $mydir/plugins/z/z.sh ]]; then
touch ~/.z
if [[ ! -f /usr/share/man/man1/z.1 ]]; then
sudo cp $mydir/plugins/z/z.1 /usr/share/man/man1/
fi
source $mydir/plugins/z/z.sh
fi
Something went wrong with that request. Please try again.