aboutsummaryrefslogtreecommitdiff
path: root/install-root-zsh.sh
blob: 486001b9089df77a6a791a97dde39caf22eaca63 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Make root use zsh and our zsh config, but with a slightly modified profile

cp root/.profile /root/.profile
ln -s /root/.profile /root/.zprofile
mkdir -p /root/.config/zsh
ln -s $PWD/dotfiles/.config/zsh/.* /root/.config/zsh/
ln -s $PWD/dotfiles/.config/zsh/* /root/.config/zsh/

chsh -s /bin/zsh root