mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:22:52 +08:00
Fix __fish_complete_command with multiline tokens
This commit is contained in:
parent
f61ef2c63d
commit
8949c44574
|
@ -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 New Issue
Block a user