fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
6581362e1
master
1complete -c fish -s c -l command -d"Run specified command instead of interactive session" -x -a"(__fish_complete_command)" 2complete -c fish -s C -l init-command -d"Run specified command before session" -x -a"(__fish_complete_command)" 3complete -c fish -s h -l help -d"Display help and exit" 4complete -c fish -s v -l version -d"Display version and exit" 5complete -c fish -s N -l no-config -d"Do not read configuration files" 6complete -c fish -s n -l no-execute -d"Only parse input, do not execute" 7complete -c fish -s i -l interactive -d"Run in interactive mode" 8complete -c fish -s l -l login -d"Run as a login shell" 9complete -c fish -s p -l profile -d"Output profiling information (excluding startup) to a file" -r 10complete -c fish -l profile-startup -d"Output startup profiling information to a file" -r 11complete -c fish -s d -l debug -d"Specify debug categories" -x -a"(fish --print-debug-categories | string replace ' ' \t)" 12complete -c fish -s o -l debug-output -d"Where to direct debug output to" -rF 13complete -c fish -s P -l private -d"Do not persist history" 14 15function __fish_complete_features 16set -l arg_comma( commandline -tc| string replace -rf'(.*,)[^,]*' '$1' | string replace -r --'--.*=' '' ) 17set -l features( status features| string replace -rf'^([\w-]+).*\t(.*)$' '$1\t$2' ) 18printf "%s\n" " $arg_comma " $features #TODO: remove existing args 19end 20complete -c fish -s f -l features -d"Run with comma-separated feature flags enabled" -a"(__fish_complete_features)" -x 21complete -c fish -l print-rusage-self -d"Print stats from getrusage at exit" -f 22complete -c fish -l print-debug-categories -d"Print the debug categories fish knows" -f 23 24complete -c fish -k -x -a"(__fish_complete_suffix .fish)"