diff options
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r-- | config/essentials/zsh/.zshrc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 91fef35..fa7f6e6 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -16,12 +16,12 @@ autoload -z edit-command-line zle -N edit-command-line ### Source files -source_it() { [ -f "$1" ] && . "$1" } -source_it /etc/profile.d/plan9.sh -source_it $XDG_CONFIG_HOME/zsh/comp.zsh -source_it $XDG_CONFIG_HOME/shell/functions.sh -source_it $XDG_CONFIG_HOME/shell/aliases.sh -source_it $XDG_CONFIG_HOME/zsh/widgets.zsh +source_ex() { [ -f "$1" ] && . "$1"; } # source if exists +source_ex /etc/profile.d/plan9.sh +source_ex $XDG_CONFIG_HOME/zsh/comp.zsh +source_ex $XDG_CONFIG_HOME/shell/functions.sh +source_ex $XDG_CONFIG_HOME/shell/aliases.sh +source_ex $XDG_CONFIG_HOME/zsh/widgets.zsh # . $XDG_CONFIG_HOME/zsh/prompt.zsh # . $XDG_CONFIG_HOME/zsh/plugins.zsh @@ -36,6 +36,7 @@ then # plug "MichaelAquilina/zsh-you-should-use" plug "chivalryq/git-alias" # plug "marlonrichert/zsh-autocomplete" + # plug "wintermi/zsh-golang" plug "zap-zsh/fzf" plug "zdharma-continuum/fast-syntax-highlighting" plug "zsh-users/zsh-autosuggestions" |