Skip to content

Commit 5955a02

Browse files
committed
fish: expand tokens correctly
* fix by @ridiculousfish: * fish-shell/fish-shell#751 (comment)
1 parent 8ad2e50 commit 5955a02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.config/fish/config.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ end
242242
# ref1: https://github.com/fish-shell/fish-shell/issues/751#issuecomment-18058960
243243
# ref2: https://github.com/fish-shell/fish-shell/issues/751#issuecomment-2282787121
244244
function bind_expand_all
245-
set -l tokens (commandline --tokens-expanded)
245+
set -l tokens (commandline --tokens-raw)
246246
if test -n "$tokens"
247247
248248
set -l value (eval __fish_list $tokens | tr \n ' ')

0 commit comments

Comments
 (0)