fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d835c5252
master
1# localization: tier3 2function __fish_cmd__complete_args 3set -l current_token( commandline -tc) 4 5switch $current_token 6case '/t:*' 7echo -e'0\tBlack 81\tBlue 92\tGreen 103\tAqua 114\tRed 125\tPurple 136\tYellow 147\tWhite 158\tGray 169\tLight blue 17A\tLight green 18B\tLight aqua 19C\tLight red 20D\tLight purple 21E\tLight yellow 22F\tBright white' | awk -F'\t' "{ printf \" $current_token %s\t%s\n\", \$1, \$2 }" 23case '/e:*' 24echo -e'on\tEnable command extensions 25off\tDisable command extensions' | awk -F'\t' "{ printf \" $current_token %s\t%s\n\", \$1, \$2 }" 26case '/f:*' 27echo -e'on\tEnable file and directory name completion 28off\tDisable file and directory name completion' | awk -F'\t' "{ printf \" $current_token %s\t%s\n\", \$1, \$2 }" 29case '/v:*' 30echo -e'on\tEnable delayed environment variable expansion 31off\tDisable delayed environment variable expansion' | awk -F'\t' "{ printf \" $current_token %s\t%s\n\", \$1, \$2 }" 32end 33end