From 3a46f14484955b6ab5562d2c25d75b7093895810 Mon Sep 17 00:00:00 2001 From: Wesley Kronmiller <31973884+fezboy@users.noreply.github.com> Date: Tue, 23 Mar 2021 18:39:57 -0700 Subject: [PATCH] Remove problematic char in __fzf_search_current_dir (#142) There was a zero-width character that came from copy and pasting code from the GitHub web interface. It's invisible but can be seen by running git diff 2c0fb53 2c0fb53^ | vim - --- functions/__fzf_search_current_dir.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/__fzf_search_current_dir.fish b/functions/__fzf_search_current_dir.fish index 43234eec..38432a7d 100644 --- a/functions/__fzf_search_current_dir.fish +++ b/functions/__fzf_search_current_dir.fish @@ -6,7 +6,7 @@ function __fzf_search_current_dir --description "Search the current directory. R set fd_opts --color=always $fzf_fd_opts set fzf_arguments --multi --ansi $fzf_dir_opts set token (commandline --current-token) - ​# expand the token (which may include tilde, variables, etc.) into full path + # expand any variables or leading tilde (~) in the token set expanded_token (eval echo -- \"$token\") # unescape token because it's already quoted so backslashes will mess up the path set unescaped_exp_token (string unescape -- $expanded_token)