Mostly improving fzf tab on-word complete
This commit is contained in:
parent
ac48d66ff8
commit
f2251d9af5
4 changed files with 151 additions and 188 deletions
|
@ -79,3 +79,13 @@ function fg-bg() {
|
|||
}
|
||||
zle -N fg-bg
|
||||
bindkey '^Z' fg-bg
|
||||
|
||||
rationalise-dot() {
|
||||
if [[ $LBUFFER = *.. ]]; then
|
||||
LBUFFER+=/..
|
||||
else
|
||||
LBUFFER+=.
|
||||
fi
|
||||
}
|
||||
zle -N rationalise-dot
|
||||
bindkey . rationalise-dot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue