forgot something.
This commit is contained in:
parent
9a406755f5
commit
ee6fa6eea4
|
@ -51,7 +51,6 @@ installpackages() {
|
||||||
changeshell() {
|
changeshell() {
|
||||||
if [[ $SHELL == "/usr/bin/zsh" || $SHELL == "/bin/zsh" ]]; then
|
if [[ $SHELL == "/usr/bin/zsh" || $SHELL == "/bin/zsh" ]]; then
|
||||||
printf '%s\n' "Your default shell is already zsh, continuing."
|
printf '%s\n' "Your default shell is already zsh, continuing."
|
||||||
exec zsh
|
|
||||||
else
|
else
|
||||||
chsh -s $(which zsh)
|
chsh -s $(which zsh)
|
||||||
printf '%s\n' "Default shell changed to zsh, logout and login to see changes"
|
printf '%s\n' "Default shell changed to zsh, logout and login to see changes"
|
||||||
|
|
Loading…
Reference in New Issue