summaryrefslogtreecommitdiff
path: root/config/essentials/zsh/.zshrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-08 14:54:50 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-08 14:54:50 +0200
commite73e19e82a893bacd3c1da87835bc066aa69bb23 (patch)
tree3118beecdcda549b16b7eea0c628ae9c517f18e2 /config/essentials/zsh/.zshrc
parent7a91a55b79f828017b38c9f0af479b25c89bf6a9 (diff)
checkpoint
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r--config/essentials/zsh/.zshrc13
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"