summaryrefslogtreecommitdiff
path: root/config/essentials/zsh/.zshrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-30 00:50:16 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-30 00:50:16 +0100
commit15bc38edec39279f26969ca4b67126f6e544b831 (patch)
treec500f84a07c04acce18035b7635e93a2f710f162 /config/essentials/zsh/.zshrc
parent0e5e622952fe51588f1537e621c63cbe4a91c136 (diff)
checkpoint
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r--config/essentials/zsh/.zshrc19
1 files changed, 9 insertions, 10 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index f5debdb..690c7e8 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -16,15 +16,15 @@ autoload -z edit-command-line
zle -N edit-command-line
### Source files
-source_ex() { [ -f "$1" ] && . "$1"; } # source if exists
-source_ex /etc/grc.zsh
-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
+try_source() { [ -f "$1" ] && . "$1"; } # source if exists
+try_source /etc/grc.zsh
+# try_source /etc/profile.d/plan9.sh
+try_source $XDG_CONFIG_HOME/zsh/comp.zsh
+try_source $XDG_CONFIG_HOME/shell/functions.sh
+try_source $XDG_CONFIG_HOME/shell/aliases.sh
+try_source $XDG_CONFIG_HOME/zsh/widgets.zsh
+# try_source $XDG_CONFIG_HOME/zsh/prompt.zsh
+# try_source $XDG_CONFIG_HOME/zsh/plugins.zsh
### Programs
eval "$(starship init zsh)"
@@ -144,4 +144,3 @@ setopt notify
# zprof
-PATH="$PATH:$HOME/proj/chatty/v2/"