aboutsummaryrefslogtreecommitdiff
path: root/linux/home/.config/zsh
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-09-09 23:24:53 +0200
committersrdusr <trevorgray@srdusr.com>2025-09-09 23:24:53 +0200
commit56f0343a5a28563a278ae4f934f7187388b61225 (patch)
tree42cf3d957c711ff2c0c89cd00027cec1d2d448cf /linux/home/.config/zsh
parent40d34d569461fd410aa9d800c8889b4e46d9c8df (diff)
downloaddotfiles-56f0343a5a28563a278ae4f934f7187388b61225.tar.gz
dotfiles-56f0343a5a28563a278ae4f934f7187388b61225.zip
Testing
Diffstat (limited to 'linux/home/.config/zsh')
-rw-r--r--linux/home/.config/zsh/.zshrc21
1 files changed, 9 insertions, 12 deletions
diff --git a/linux/home/.config/zsh/.zshrc b/linux/home/.config/zsh/.zshrc
index acb1225..d86f1e5 100644
--- a/linux/home/.config/zsh/.zshrc
+++ b/linux/home/.config/zsh/.zshrc
@@ -90,18 +90,15 @@ if command -v fzf >/dev/null 2>&1; then
fi
-
-#source $(which virtualenvwrapper.sh)
-
-# Suggest aliases for commands
-source ~/.config/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh
-
-# Load zsh-syntax-highlighting
-source ~/.config/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-
-# Load fish like auto suggestions
-source ~/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
-source ~/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+# Source plugins
+for plugin in \
+ "$HOME/.config/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh" \
+ "$HOME/.config/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" \
+ "$HOME/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh" \
+ "$HOME/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
+do
+ [ -f "$plugin" ] && source "$plugin"
+done
DISABLE_MAGIC_FUNCTIONS=true