fzf/shell
midchildan f51d61d57a [zsh] Prevent the current directory from appearing as ~dir in prompts (#1774)
The zsh version of the cd widget sets the variable `dir` to the path of
the target directory before invoking `cd`. This causes zsh to treat the
target directory as a named directory, which has the effect of zsh
substituting '%~' with '~dir' instead of the proper path when it
performs prompt expansion.

This commit will cause the widget to unset `dir` before redrawing the
prompt to fix this issue.

Details of zsh prompt expansion can be found in:
http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html
2019-12-01 23:20:26 +09:00
..
completion.bash [bash-completion] Properly handle exit event 2019-09-29 14:45:58 +09:00
completion.zsh [zsh-completion] Fix prefix extraction when triggers start with ';' 2019-11-03 00:33:30 +09:00
key-bindings.bash [bash] Make sure to execute builtin history 2019-06-03 18:46:01 +09:00
key-bindings.fish [fish] Remove perl from fish key bindings (#1635) 2019-07-13 14:47:51 +09:00
key-bindings.zsh [zsh] Prevent the current directory from appearing as ~dir in prompts (#1774) 2019-12-01 23:20:26 +09:00