mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
[zsh] Record cd execution in history (#2193)
This commit is contained in:
parent
736344e151
commit
82c4af2902
@ -87,8 +87,9 @@ fzf-cd-widget() {
|
||||
zle redisplay
|
||||
return 0
|
||||
fi
|
||||
cd "$dir"
|
||||
BUFFER="cd ${(q)dir}"
|
||||
unset dir # ensure this doesn't end up appearing in prompt expansion
|
||||
zle accept-line
|
||||
local ret=$?
|
||||
zle fzf-redraw-prompt
|
||||
return $ret
|
||||
|
Loading…
Reference in New Issue
Block a user