summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2021-05-12 13:03:46 +0000
committerShubham Saini <pryr@pryr.xyz>2021-05-12 13:03:46 +0000
commitd783d5ccf1fce32f6bb288b91504ec7c6cee7581 (patch)
tree544ab357f32b4b420e7680349b057669336e6494 /zsh
parent270398eb68c82701e0f1b6fa388ec180f0635bbe (diff)
sourcing plugins in a better way
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 38cec68..20e0dda 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -84,7 +84,7 @@ bindkey -v
84# export KEYTIMEOUT=1 84# export KEYTIMEOUT=1
85 85
86# reverse search 86# reverse search
87bindkey '^R' history-incremental-search-backward 87# bindkey '^R' history-incremental-search-backward
88 88
89# Use vim keys in tab complete menu: 89# Use vim keys in tab complete menu:
90bindkey -M menuselect 'h' vi-backward-char 90bindkey -M menuselect 'h' vi-backward-char
@@ -115,5 +115,7 @@ echo -ne '\e[5 q' # Use beam shape cursor on startup.
115preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. 115preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
116 116
117# Load plugins 117# Load plugins
118source ~/.cache/zsh/plugins/sudo.plugin.zsh 118for plugin in ~/.cache/zsh/plugins/*; do
119 source "$plugin"
120done
119source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null 121source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null