mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 05:29:43 +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'
|
||||
set -l ctoken (commandline -ct)
|
||||
set -l ctoken "$(commandline -ct)"
|
||||
switch $ctoken
|
||||
case '*=*'
|
||||
set ctoken (string split "=" -- $ctoken)
|
||||
|
|
Loading…
Reference in New Issue
Block a user