summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2021-05-12 12:42:03 +0000
committerShubham Saini <pryr@pryr.xyz>2021-05-12 12:42:03 +0000
commitd25bb738e7c5c636359af852eba946006a2eafff (patch)
tree22dae94c45c0c85c2dbcf89d1d7b88f6913d8463 /zsh
parentfe7935ca30d27121d67864e44b3a20fc3938e84b (diff)
added sudo plugin & fixed ss keybinding
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index f9df05f..38cec68 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -81,7 +81,7 @@ compinit
81 81
82# vi mode 82# vi mode
83bindkey -v 83bindkey -v
84export KEYTIMEOUT=1 84# export KEYTIMEOUT=1
85 85
86# reverse search 86# reverse search
87bindkey '^R' history-incremental-search-backward 87bindkey '^R' history-incremental-search-backward
@@ -114,5 +114,6 @@ zle -N zle-line-init
114echo -ne '\e[5 q' # Use beam shape cursor on startup. 114echo -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 zsh-syntax-highlighting; should be last. 117# Load plugins
118source ~/.cache/zsh/plugins/sudo.plugin.zsh
118source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null 119source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null