will only switch shell if necessary
This commit is contained in:
+3
-1
@@ -856,7 +856,9 @@ which
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** Set as default shell
|
*** Set as default shell
|
||||||
#+begin_src shell :tangle update.sh
|
#+begin_src shell :tangle update.sh
|
||||||
chsh-s $(which zsh)
|
if [ "$(basename "$SHELL")" != "zsh" ]; then
|
||||||
|
chsh $(which zsh)
|
||||||
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
|
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
|
||||||
**** Installation
|
**** Installation
|
||||||
|
|||||||
Reference in New Issue
Block a user