Fix dir search
This commit is contained in:
parent
73e0a55ca3
commit
ec2d316e1e
|
@ -27,7 +27,7 @@ zle -N fzf-history-search
|
|||
bindkey '^R' fzf-history-search
|
||||
|
||||
fzf-directory-history-search() {
|
||||
LBUFFER=$( sed "s/\\$//;s/\'//g" ~/.chpwd-recent-dirs | fzf +s | sed -E 's/\\/\\\\/g;s/^/cd /')
|
||||
LBUFFER=$( sed "s/\\$//;s/'//g" ~/.chpwd-recent-dirs | fzf +s | sed -E 's/\\/\\\\/g;s/^/cd /')
|
||||
zle redisplay
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue