diff options
author | Shubham Saini <pryr@pryr.xyz> | 2021-05-12 12:42:03 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2021-05-12 12:42:03 +0000 |
commit | d25bb738e7c5c636359af852eba946006a2eafff (patch) | |
tree | 22dae94c45c0c85c2dbcf89d1d7b88f6913d8463 /zsh | |
parent | fe7935ca30d27121d67864e44b3a20fc3938e84b (diff) |
added sudo plugin & fixed ss keybinding
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/.zshrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -81,7 +81,7 @@ compinit | |||
81 | 81 | ||
82 | # vi mode | 82 | # vi mode |
83 | bindkey -v | 83 | bindkey -v |
84 | export KEYTIMEOUT=1 | 84 | # export KEYTIMEOUT=1 |
85 | 85 | ||
86 | # reverse search | 86 | # reverse search |
87 | bindkey '^R' history-incremental-search-backward | 87 | bindkey '^R' history-incremental-search-backward |
@@ -114,5 +114,6 @@ zle -N zle-line-init | |||
114 | echo -ne '\e[5 q' # Use beam shape cursor on startup. | 114 | echo -ne '\e[5 q' # Use beam shape cursor on startup. |
115 | preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. | 115 | preexec() { 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 |
118 | source ~/.cache/zsh/plugins/sudo.plugin.zsh | ||
118 | source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null | 119 | source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null |