mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Fix bug in __fish_complete_subcommand, reported by Xavier Douville
darcs-hash:20060912231409-ac50b-c573d798d9d1abc197fcf50f3b52df2e44e1f70e.gz
This commit is contained in:
parent
3bb0163598
commit
1612ec50fb
@ -1,4 +1,5 @@
|
||||
function __fish_complete_subcommand -d "Complete subcommand"
|
||||
|
||||
set -l res ""
|
||||
set -l had_cmd 0
|
||||
set -l cmd (commandline -cop) (commandline -ct)
|
||||
@ -29,8 +30,8 @@ function __fish_complete_subcommand -d "Complete subcommand"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
printf "%s\n" (commandline -ct)(complete -C $res)
|
||||
|
||||
printf "%s\n" (commandline -ct)(complete -C$res)
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user