diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100644 index 0000000..f5a9263 --- /dev/null +++ b/scripts/setup.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +install_package() { + /usr/bin/apt install $* +} + +update_default_shell() { + /usr/sbin/usermod -s /usr/bin/zsh $1 +} + +install_shell_config() { + /usr/bin/ln -s /etc/toolkit/sh/.zshrc $1 +} + +install_package zsh + +update_default_shell root +update_default_shell coby + +install_shell_config /root/.zshrc +install_shell_config /home/coby/.zshrc