2005-09-20 13:31:55 +00:00
|
|
|
#
|
|
|
|
# Completions for the help command
|
|
|
|
#
|
|
|
|
|
|
|
|
for i in (builtin -n)
|
|
|
|
complete -c help -x -a $i -d 'Help for the '$i' builtin'
|
|
|
|
end
|
|
|
|
|
2005-10-22 10:06:05 +00:00
|
|
|
for i in count dirh dirs help mimedb nextd open popd prevd pushd set_color tokenize psub umask type
|
|
|
|
complete -c help -x -a $i -d 'Help for the '$i' command'
|
|
|
|
end
|
|
|
|
|
2005-09-20 13:31:55 +00:00
|
|
|
for i in syntax todo bugs history;
|
|
|
|
complete -c help -x -a $i -d 'Help section on '$i
|
|
|
|
end
|
|
|
|
|
|
|
|
complete -c help -x -a completion -d "Help on how tab-completion works"
|
|
|
|
complete -c help -x -a job-control -d "Help on how job control works"
|
|
|
|
complete -c help -x -a difference -d "Summary on how fish differs from other shells"
|
|
|
|
|
|
|
|
complete -c help -x -a prompt -d "Help on how to set the prompt"
|
|
|
|
complete -c help -x -a title -d "Help on how to set the titlebar message"
|
|
|
|
complete -c help -x -a killring -d "Help on how to copy and paste"
|
|
|
|
complete -c help -x -a editor -d "Help on editor shortcuts"
|
|
|
|
complete -c help -x -a variables -d "Help on environment variables"
|
|
|
|
complete -c help -x -a color -d "Help on setting syntax highlighting colors"
|
|
|
|
complete -c help -x -a prompt -d "Help on changing the prompt"
|
|
|
|
complete -c help -x -a title -d "Help on changing the titlebar messages"
|
|
|
|
complete -c help -x -a builtin-overview -d "A short summary of all builtin commands"
|
|
|
|
complete -c help -x -a changes -d "The changelog"
|
|
|
|
|
2005-12-07 15:57:17 +00:00
|
|
|
complete -c help -x -a globbing -d "Help on parameter expansion (Globbing)"
|
|
|
|
complete -c help -x -a expand -d "Help on parameter expansion (Globbing)"
|
2005-12-07 13:03:30 +00:00
|
|
|
complete -c help -x -a expand-variable -d "Help on variable exapantion \$VARNAME"
|
2005-12-07 15:57:17 +00:00
|
|
|
complete -c help -x -a expand-home -d "Help on home directory expansion ~USER"
|
|
|
|
complete -c help -x -a expand-brace -d "Help on brace expansion {a,b,c}"
|
|
|
|
complete -c help -x -a expand-wildcard -d "Help on wildcard expansion *.*"
|
2005-12-07 13:03:30 +00:00
|
|
|
complete -c help -x -a expand-command-substitution -d "Help on command substututions (SUBCOMMAND)"
|
2005-12-07 15:57:17 +00:00
|
|
|
complete -c help -x -a expand-process -d "Help on process expansion %JOB"
|