From 2e1c405c3003640d61d48a5a2a455aef1a77f022 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 15 Jan 2018 22:04:15 -0500 Subject: [PATCH] Update cmd.exe default command for relative paths (see https://github.com/junegunn/fzf/pull/1200#issuecomment-357839251) --- Windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows.md b/Windows.md index 1acd63c..8e76cdf 100644 --- a/Windows.md +++ b/Windows.md @@ -30,7 +30,7 @@ To use relative filepaths, set `FZF_DEFAULT_COMMAND` to any of the following and - cmd.exe https://github.com/junegunn/fzf/pull/971#issuecomment-313971408 ```dosbatch - cmd.exe /v:on/s/c "for /r %P in (*) do @(set _relpath=%P & echo !_relpath:%cd%\=!)" + cmd.exe /v:on/s/c "for /r %P in (*) do @(set _relpath=%P & echo !_relpath:%__cd__%=!)" ``` - powershell https://github.com/junegunn/fzf/issues/960 ```dosbatch