1
0
Fork 0

Fix dir search

This commit is contained in:
Malte Brandy 2020-07-07 17:40:11 +02:00
parent 73e0a55ca3
commit ec2d316e1e
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -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
}