diff options
Diffstat (limited to 'install-root-zsh.sh')
-rwxr-xr-x | install-root-zsh.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/install-root-zsh.sh b/install-root-zsh.sh new file mode 100755 index 0000000..486001b --- /dev/null +++ b/install-root-zsh.sh @@ -0,0 +1,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 |