if ! grep zsh etc/shells 1> /dev/null 2> /dev/null; then
  echo "/bin/zsh" >> etc/shells
fi
if [ ! -e etc/zprofile ]; then
  ( cd etc ; ln -sf profile zprofile )
fi
( cd bin ; rm -rf zsh-5.9.1 )
( cd bin ; ln -sf zsh zsh-5.9.1 )
( cd usr/share/zsh/5.9.1/help ; rm -rf bye )
( cd usr/share/zsh/5.9.1/help ; ln -sf exit bye )
( cd usr/share/zsh/5.9.1/help ; rm -rf chdir )
( cd usr/share/zsh/5.9.1/help ; ln -sf cd chdir )
( cd usr/share/zsh/5.9.1/help ; rm -rf declare )
( cd usr/share/zsh/5.9.1/help ; ln -sf typeset declare )
( cd usr/share/zsh/5.9.1/help ; rm -rf float )
( cd usr/share/zsh/5.9.1/help ; ln -sf typeset float )
( cd usr/share/zsh/5.9.1/help ; rm -rf history )
( cd usr/share/zsh/5.9.1/help ; ln -sf fc history )
( cd usr/share/zsh/5.9.1/help ; rm -rf integer )
( cd usr/share/zsh/5.9.1/help ; ln -sf typeset integer )
( cd usr/share/zsh/5.9.1/help ; rm -rf local )
( cd usr/share/zsh/5.9.1/help ; ln -sf typeset local )
( cd usr/share/zsh/5.9.1/help ; rm -rf logout )
( cd usr/share/zsh/5.9.1/help ; ln -sf exit logout )
( cd usr/share/zsh/5.9.1/help ; rm -rf pushln )
( cd usr/share/zsh/5.9.1/help ; ln -sf print pushln )
( cd usr/share/zsh/5.9.1/help ; rm -rf r )
( cd usr/share/zsh/5.9.1/help ; ln -sf fc r )
( cd usr/share/zsh/5.9.1/help ; rm -rf readonly )
( cd usr/share/zsh/5.9.1/help ; ln -sf typeset readonly )
( cd usr/share/zsh/5.9.1/help ; rm -rf rehash )
( cd usr/share/zsh/5.9.1/help ; ln -sf hash rehash )
( cd usr/share/zsh/5.9.1/help ; rm -rf type )
( cd usr/share/zsh/5.9.1/help ; ln -sf whence type )
( cd usr/share/zsh/5.9.1/help ; rm -rf unalias )
( cd usr/share/zsh/5.9.1/help ; ln -sf unhash unalias )
( cd usr/share/zsh/5.9.1/help ; rm -rf unfunction )
( cd usr/share/zsh/5.9.1/help ; ln -sf unhash unfunction )
( cd usr/share/zsh/5.9.1/help ; rm -rf where )
( cd usr/share/zsh/5.9.1/help ; ln -sf whence where )
( cd usr/share/zsh/5.9.1/help ; rm -rf which )
( cd usr/share/zsh/5.9.1/help ; ln -sf whence which )
