diff --git a/dot_zshrc b/dot_zshrc index 85322f0..640ffe6 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -2,7 +2,11 @@ # export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH # Path to your Oh My Zsh installation. -export ZSH="$HOME/.oh-my-zsh" +if [[ -d "$HOME/.oh-my-zsh/" ]]; then + export ZSH="$HOME/.oh-my-zsh" +else + export ZSH="/usr/share/ohmyzsh" +fi # Set name of the theme to load --- if set to "random", it will # load a random theme each time Oh My Zsh is loaded, in which case,