From 9b948f45ee1e6cae7f8ac4b1d51576e9d75ebded Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:44:49 -0500 Subject: [PATCH] fix: fzf editing files with spaces in path name --- modules/common/shell/fish/functions/edit.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common/shell/fish/functions/edit.fish b/modules/common/shell/fish/functions/edit.fish index fbe13b0..87ff52f 100644 --- a/modules/common/shell/fish/functions/edit.fish +++ b/modules/common/shell/fish/functions/edit.fish @@ -1,4 +1,4 @@ set vimfile (fzf) and set vimfile (echo $vimfile | tr -d '\r') -and commandline -r "vim $vimfile" +and commandline -r "vim \"$vimfile\"" and commandline -f execute