will only switch shell if necessary

This commit is contained in:
paul-loedige
2024-02-11 21:57:39 +01:00
parent a32d324780
commit 9abc4c361a
+3 -1
View File
@@ -856,7 +856,9 @@ which
#+end_src
*** Set as default shell
#+begin_src shell :tangle update.sh
chsh-s $(which zsh)
if [ "$(basename "$SHELL")" != "zsh" ]; then
chsh $(which zsh)
fi
#+end_src
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
**** Installation