diff options
| author | Andrew <andrewwang298@gmail.com> | 2022-06-17 12:36:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-17 16:36:14 +0000 |
| commit | 09ca9e57acf3cbc568842b542379ec57a1184b2e (patch) | |
| tree | 3ab9806ddbb75b98d0a3c3196c7d5013afd33e13 /.config/lf | |
| parent | bac8a110ecd69c542f16596a432f7a8b03ce1fb8 (diff) | |
| download | eibhear-09ca9e57acf3cbc568842b542379ec57a1184b2e.tar.gz eibhear-09ca9e57acf3cbc568842b542379ec57a1184b2e.tar.zst eibhear-09ca9e57acf3cbc568842b542379ec57a1184b2e.zip | |
Fix fzf select in lf (#1126)
Without double quotes, fzf-select fails when selecting a file whose path contains whitespace.
Diffstat (limited to '.config/lf')
| -rw-r--r-- | .config/lf/lfrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index f12d9c7..315ac3f 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -94,7 +94,7 @@ cmd setbg "$1" cmd bulkrename $vidir # Bindings -map <c-f> $lf -remote "send $id select '$(fzf)'" +map <c-f> $lf -remote "send $id select \"$(fzf)\"" map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)" map gh map g top |
