diff --git a/share/functions/__fish_list_current_token.fish b/share/functions/__fish_list_current_token.fish index 2ebfb73e5..0bbd90665 100644 --- a/share/functions/__fish_list_current_token.fish +++ b/share/functions/__fish_list_current_token.fish @@ -2,7 +2,7 @@ # of the directory under the cursor. function __fish_list_current_token -d "List contents of token under the cursor if it is a directory, otherwise list the contents of the current directory" - set -l val (eval echo (commandline -t)) + set -l val (commandline -t) printf "\n" if test -d $val ls $val