Support for @sorin-ionescu rewrite of oh-my-zsh
Sorin's OMZ rewrite is a bit nicer, as it's written in more native style ZSH, doesn't do auto updates, and incorporates many bugfixes, and is more actively maintained than Robby's branch. For now, YADR supports both, so if you want to try out the sorin branch, go to sorin-ionescu/oh-my-zsh, install it, and rerun the YADR installer so that the skwp theme is installed for you. If you want to have them side by side for comparison, rename the old robby one to ~/.oh-my-zsh.robby or similar, so you can toggle back and forth through renames, or symlinks.
This commit is contained in:
@@ -26,8 +26,12 @@ if [[ -d $HOME/.oh-my-zsh ]]; then
|
||||
for config_file ($yadr/custom/zsh/before/*) source $config_file
|
||||
fi
|
||||
|
||||
# Source oh-my-zsh
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
# Figure out if we have Robby's or Sorin's Oh-my-zsh
|
||||
if [[ -f $ZSH/oh-my-zsh.sh ]]; then
|
||||
source $ZSH/oh-my-zsh.sh # OMZ Robby Russell (https://github.com/robbyrussell/oh-my-zsh)
|
||||
else
|
||||
source $yadr/zsh/omz-sorin/omz-sorin.zsh # OMZ Sorin Ionescu (https://github.com/sorin-ionescu/oh-my-zsh)
|
||||
fi
|
||||
fi
|
||||
|
||||
# Configuration
|
||||
|
||||
Reference in New Issue
Block a user