3 # get some zsh envrionnement installation on FreeBSD
5 ZSH_VERSION
=`${ZSH_CMD} --version | sed -n 's/zsh \(.*\) .*/\1/p'`
6 ZSH_PREFIX
=`make -C /usr/ports/shells/zsh -V PREFIX`
8 # add completions files in completion directory
9 for file ( _
* ) sudo
cp $file ${ZSH_PREFIX}/share
/zsh
/${ZSH_VERSION}/functions
/Completion
/BSD
/
11 # update completion files