22 lines
342 B
Bash
22 lines
342 B
Bash
#!/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
|