mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix __fish_complete_command with multiline tokens
This commit is contained in:
parent
f61ef2c63d
commit
8949c44574
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
function __fish_complete_command --description 'Complete using all available commands'
|
function __fish_complete_command --description 'Complete using all available commands'
|
||||||
set -l ctoken (commandline -ct)
|
set -l ctoken "$(commandline -ct)"
|
||||||
switch $ctoken
|
switch $ctoken
|
||||||
case '*=*'
|
case '*=*'
|
||||||
set ctoken (string split "=" -- $ctoken)
|
set ctoken (string split "=" -- $ctoken)
|
||||||
|
|
Loading…
Reference in a new issue