blob: 35f5e29b580609f5038e9458bb3713f47c4b39fc (
plain)
1
2
3
4
5
6
7
8
9
10
|
function __fish_complete_command --description 'Complete using all available commands'
set -l ctoken (commandline -ct)
switch $ctoken
case '*=*'
set ctoken (string split "=" -- $ctoken)
printf '%s\n' $ctoken[1]=(complete -C$ctoken[2])
case '*'
complete -C$ctoken
end
end
|