Skip to content

Commit

Permalink
Remove problematic char in __fzf_search_current_dir (#142)
Browse files Browse the repository at this point in the history
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 -
  • Loading branch information
fezboy authored Mar 24, 2021
1 parent 2c0fb53 commit 3a46f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/__fzf_search_current_dir.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a46f14

Please sign in to comment.