diff --git a/config.org b/config.org index 088fcb6..4f72c16 100644 --- a/config.org +++ b/config.org @@ -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