will only switch shell if necessary
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user