fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_complete_path --description"Complete using path" 3set -l target 4set -l description 5switch ( count $argv ) 6case 0 7# pass 8case 1 9set target" $argv [ 1 ] " 10case 2 "*" 11set target" $argv [ 1 ] " 12set description" $argv [ 2 ] " 13end 14set -l targets( complete -C"'' $target " ) 15if set -q targets[ 1 ] 16printf "%s\n" $targets \t" $description " 17end 18end