Remove zsh plugins
This commit is contained in:
parent
8c00d6ade9
commit
c55af8df12
6 changed files with 0 additions and 5 deletions
|
@ -1,24 +0,0 @@
|
|||
# Based on http://stackoverflow.com/a/41420448/4757
|
||||
|
||||
function expand-multiple-dots() {
|
||||
local MATCH
|
||||
if [[ $LBUFFER =~ '(^| )\.\.\.+' ]]; then
|
||||
LBUFFER=$LBUFFER:fs%\.\.\.%../..%
|
||||
fi
|
||||
}
|
||||
|
||||
function expand-multiple-dots-then-expand-or-complete() {
|
||||
zle expand-multiple-dots
|
||||
zle expand-or-complete
|
||||
}
|
||||
|
||||
function expand-multiple-dots-then-accept-line() {
|
||||
zle expand-multiple-dots
|
||||
zle accept-line
|
||||
}
|
||||
|
||||
zle -N expand-multiple-dots
|
||||
zle -N expand-multiple-dots-then-expand-or-complete
|
||||
zle -N expand-multiple-dots-then-accept-line
|
||||
bindkey '^I' expand-multiple-dots-then-expand-or-complete
|
||||
bindkey '^M' expand-multiple-dots-then-accept-line
|
Loading…
Add table
Add a link
Reference in a new issue