mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Run fish_indent on all fish files in share/
This commit is contained in:
parent
91ccaae5bf
commit
6746060c14
10 changed files with 155 additions and 155 deletions
|
@ -39,5 +39,5 @@ complete -c asciidoctor -s w -l warnings -d "Turn on script warnings"
|
|||
complete -c asciidoctor -s t -l timings -d "Print timings report"
|
||||
|
||||
# Program Information
|
||||
complete -x -c asciidoctor -s h -l help -a "manpage" -d "Print a help message"
|
||||
complete -x -c asciidoctor -s h -l help -a manpage -d "Print a help message"
|
||||
complete -c asciidoctor -s V -l version -d "Print program version"
|
||||
|
|
|
@ -28,21 +28,21 @@ function __fish_gradle_get_default_task_completion
|
|||
end
|
||||
|
||||
printf '%s\t%s\n' \
|
||||
"buildEnvironment" "Display buildscript dependencies" \
|
||||
"components" "Display components" \
|
||||
"dependencies" "Display dependencies" \
|
||||
"dependencyInsight" "Display insight of a given dependency" \
|
||||
"dependentComponents" "Display the dependent components" \
|
||||
"help" "Display help message" \
|
||||
"init" "Initialize new Gradle project" \
|
||||
"model" "Display configuration model" \
|
||||
"projects" "Display sub-projects" \
|
||||
"properties" "Display properties" \
|
||||
"tasks" "Display tasks" \
|
||||
"wrapper" "Generate Gradle wrapper files"
|
||||
buildEnvironment "Display buildscript dependencies" \
|
||||
components "Display components" \
|
||||
dependencies "Display dependencies" \
|
||||
dependencyInsight "Display insight of a given dependency" \
|
||||
dependentComponents "Display the dependent components" \
|
||||
help "Display help message" \
|
||||
init "Initialize new Gradle project" \
|
||||
model "Display configuration model" \
|
||||
projects "Display sub-projects" \
|
||||
properties "Display properties" \
|
||||
tasks "Display tasks" \
|
||||
wrapper "Generate Gradle wrapper files"
|
||||
end
|
||||
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--exclusive \
|
||||
--arguments "(__fish_gradle_get_default_task_completion)"
|
||||
|
||||
|
@ -61,8 +61,8 @@ function __fish_gradle_get_task_completion
|
|||
string trim -- <"$gradle_cache_file"
|
||||
end
|
||||
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--condition "__fish_gradle_contains_build_file" \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--condition __fish_gradle_contains_build_file \
|
||||
--exclusive \
|
||||
--arguments "(__fish_gradle_get_task_completion)"
|
||||
|
||||
|
@ -73,10 +73,10 @@ complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
|||
|
||||
function __fish_gradle_get_console_completion
|
||||
printf '%s\t%s\n' \
|
||||
"auto" "Use 'rich' in console otherwise 'plain'" \
|
||||
"plain" "Disable color and rich output" \
|
||||
"rich" "Enable color and rich output" \
|
||||
"verbose" "Enable color, rich output, output task names and outcomes at the lifecycle log level"
|
||||
auto "Use 'rich' in console otherwise 'plain'" \
|
||||
plain "Disable color and rich output" \
|
||||
rich "Enable color and rich output" \
|
||||
verbose "Enable color, rich output, output task names and outcomes at the lifecycle log level"
|
||||
end
|
||||
|
||||
function __fish_gradle_get_property_completion
|
||||
|
@ -98,181 +98,181 @@ end
|
|||
|
||||
function __fish_gradle_get_priority_completion
|
||||
printf '%s\t%s\n' \
|
||||
"normal" "Default process priority" \
|
||||
"low" "Low process priority"
|
||||
normal "Default process priority" \
|
||||
low "Low process priority"
|
||||
end
|
||||
|
||||
function __fish_gradle_get_warning_mode_completion
|
||||
printf '%s\t%s\n' \
|
||||
"all" "Log all warnings" \
|
||||
"summary" "Suppress all warnings, log a summary at the end" \
|
||||
"fail" "Log all warnings and fail the build if there are any" \
|
||||
"none" "Suppress all warnings, including the summary at the end"
|
||||
all "Log all warnings" \
|
||||
summary "Suppress all warnings, log a summary at the end" \
|
||||
fail "Log all warnings and fail the build if there are any" \
|
||||
none "Suppress all warnings, including the summary at the end"
|
||||
end
|
||||
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'help' \
|
||||
--short-option 'h' --short-option '?' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option help \
|
||||
--short-option h --short-option '?' \
|
||||
--description 'Show this help message'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'no-rebuild' \
|
||||
--short-option 'a' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option no-rebuild \
|
||||
--short-option a \
|
||||
--description 'Do not rebuild project dependencies'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'build-file' \
|
||||
--short-option 'b' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option build-file \
|
||||
--short-option b \
|
||||
--require-parameter \
|
||||
--description 'Specify build file'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'build-cache' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option build-cache \
|
||||
--description 'Enable Gradle build cache'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'settings-file' \
|
||||
--short-option 'c' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option settings-file \
|
||||
--short-option c \
|
||||
--require-parameter \
|
||||
--description 'Specify settings file'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'configure-on-demand' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option configure-on-demand \
|
||||
--description 'Configure necessary projects only [incubating]'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'console' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option console \
|
||||
--exclusive \
|
||||
--description 'Specify type of console output' \
|
||||
--arguments "(__fish_gradle_get_console_completion)"
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'continue' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option continue \
|
||||
--description 'Continue task execution after task failures'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'system-prop' \
|
||||
--short-option 'D' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option system-prop \
|
||||
--short-option D \
|
||||
--exclusive \
|
||||
--description 'Set system property of the JVM (e.g. -Dmyprop=myvalue)' \
|
||||
--arguments "(__fish_gradle_get_property_completion)"
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'debug' \
|
||||
--short-option 'd' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option debug \
|
||||
--short-option d \
|
||||
--description 'Log in debug mode (incl. normal stacktrace)'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'daemon' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option daemon \
|
||||
--description 'Uses Gradle Daemon'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'foreground' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option foreground \
|
||||
--description 'Start Gradle Daemon in foreground'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'gradle-user-home' \
|
||||
--short-option 'g' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option gradle-user-home \
|
||||
--short-option g \
|
||||
--require-parameter \
|
||||
--description 'Specify gradle user home directory'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'init-script' \
|
||||
--short-option 'I' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option init-script \
|
||||
--short-option I \
|
||||
--require-parameter \
|
||||
--description 'Specify initialization script'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'info' \
|
||||
--short-option 'i' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option info \
|
||||
--short-option i \
|
||||
--description 'Info log level'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'include-build' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option include-build \
|
||||
--require-parameter \
|
||||
--description 'Include specified build in composite'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'dry-run' \
|
||||
--short-option 'm' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option dry-run \
|
||||
--short-option m \
|
||||
--description 'Run builds with all task actions disabled'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'max-workers' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option max-workers \
|
||||
--exclusive \
|
||||
--description 'Configure number of concurrent workers'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'no-build-cache' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option no-build-cache \
|
||||
--description 'Disable Gradle build cache'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'no-configure-on-demand' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option no-configure-on-demand \
|
||||
--description 'Disable use of configuration on demand [incubating]'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'no-daemon' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option no-daemon \
|
||||
--description 'Disable Gradle daemon'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'no-parallel' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option no-parallel \
|
||||
--description 'Disable parallel execution'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'no-scan' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option no-scan \
|
||||
--description 'Disable creation of build scan'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'offline' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option offline \
|
||||
--description 'Execute build without accessing network resources'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'project-prop' \
|
||||
--short-option 'P' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option project-prop \
|
||||
--short-option P \
|
||||
--exclusive \
|
||||
--description 'Set project property for build script (e.g. -Pmyprop=myvalue)'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'project-dir' \
|
||||
--short-option 'p' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option project-dir \
|
||||
--short-option p \
|
||||
--require-parameter \
|
||||
--description 'Specify start directory for Gradle'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'parallel' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option parallel \
|
||||
--description 'Build projects in parallel'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'priority' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option priority \
|
||||
--exclusive \
|
||||
--description 'Specify scheduling priority for the Gradle daemon and all processes launched by it' \
|
||||
--arguments "(__fish_gradle_get_priority_completion)"
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'profile' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option profile \
|
||||
--description 'Profile build execution time and generate report'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'project-cache-dir' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option project-cache-dir \
|
||||
--require-parameter \
|
||||
--description 'Specify cache directory'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'quiet' \
|
||||
--short-option 'q' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option quiet \
|
||||
--short-option q \
|
||||
--description 'Error log level'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'refresh-dependencies' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option refresh-dependencies \
|
||||
--description 'Refresh dependencies state'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'rerun-tasks' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option rerun-tasks \
|
||||
--description 'Ignore previously cached task results'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'full-stacktrace' \
|
||||
--short-option 'S' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option full-stacktrace \
|
||||
--short-option S \
|
||||
--description 'Print out full stacktrace'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'stacktrace' \
|
||||
--short-option 's' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option stacktrace \
|
||||
--short-option s \
|
||||
--description 'Print out stacktrace'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'scan' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option scan \
|
||||
--description 'Creates build scan'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'status' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option status \
|
||||
--description 'Show status of Gradle Daemon(s)'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'stop' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option stop \
|
||||
--description 'Stop Gradle Daemon(s)'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'continuous' \
|
||||
--short-option 't' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option continuous \
|
||||
--short-option t \
|
||||
--description 'Enable continuous build'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'update-locks' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option update-locks \
|
||||
--description 'Perform a partial update of the dependency lock [incubating]'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'version' \
|
||||
--short-option 'v' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option version \
|
||||
--short-option v \
|
||||
--description 'Print version info.'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'warn' \
|
||||
--short-option 'w' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option warn \
|
||||
--short-option w \
|
||||
--description 'Warn log level'
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'warning-mode' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option warning-mode \
|
||||
--description 'Specify warn mode' \
|
||||
--arguments "(__fish_gradle_get_warning_mode_completion)"
|
||||
complete --command 'gw' --command 'gradle' --command 'gradlew' \
|
||||
--long-option 'write-locks' \
|
||||
complete --command gw --command gradle --command gradlew \
|
||||
--long-option write-locks \
|
||||
--description 'Persists dependency resolution for locked configurations [incubating]'
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
complete -c msfdb -f
|
||||
|
||||
# Commands
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a init -d 'Initialize the component'
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a reinit -d 'Delete and reinitialize the component'
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a delete -d 'Delete and stop the component'
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a status -d 'Check component status'
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a start -d 'Start the component'
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a stop -d 'Stop the component'
|
||||
complete -c msfdb -n '__fish_use_subcommand' -x -a restart -d 'Restart the component'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a init -d 'Initialize the component'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a reinit -d 'Delete and reinitialize the component'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a delete -d 'Delete and stop the component'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a status -d 'Check component status'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a start -d 'Start the component'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a stop -d 'Stop the component'
|
||||
complete -c msfdb -n __fish_use_subcommand -x -a restart -d 'Restart the component'
|
||||
|
||||
# General Options
|
||||
complete -c msfdb -l component -x -a 'all database webservice' -d 'Component used with provided command'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function __fish_msf_db_running
|
||||
msfdb status 2> /dev/null | string match -q -r 'Database started|Active: active'
|
||||
msfdb status 2>/dev/null | string match -q -r 'Database started|Active: active'
|
||||
end
|
||||
|
||||
function __fish_complete_msf_payloads
|
||||
|
|
|
@ -9,16 +9,16 @@ set -l command3 x extract
|
|||
|
||||
#commands
|
||||
complete -c zpaq -f -n "not $seen $commands" -a "$commands"
|
||||
complete -c zpaq -f -n "not $seen $commands" -a a -d "add"
|
||||
complete -c zpaq -f -n "not $seen $commands" -a a -d add
|
||||
complete -c zpaq -f -n "not $seen $commands" -a add -d "Append files to archive if dates have changed"
|
||||
complete -c zpaq -f -n "not $seen $commands" -a x -d "extract"
|
||||
complete -c zpaq -f -n "not $seen $commands" -a x -d extract
|
||||
complete -c zpaq -f -n "not $seen $commands" -a extract -d "Extract most recent versions of files"
|
||||
complete -c zpaq -f -n "not $seen $commands" -a l -d "list"
|
||||
complete -c zpaq -f -n "not $seen $commands" -a l -d list
|
||||
complete -c zpaq -f -n "not $seen $commands" -a list -d "List or compare external files to archive"
|
||||
|
||||
#options
|
||||
complete -c zpaq -x -n "$seen $commands" -o all -a N -d "Extract/list versions in N [4] digit directories"
|
||||
complete -c zpaq -f -n "$seen $commands" -s f -d "-force"
|
||||
complete -c zpaq -f -n "$seen $commands" -s f -d -force
|
||||
complete -c zpaq -f -n "$seen $command1" -o force -d "Append files if contents have changed"
|
||||
complete -c zpaq -f -n "$seen $command2" -o force -d "Compare file contents instead of dates"
|
||||
complete -c zpaq -f -n "$seen $command3" -o force -d "Overwrite existing output files"
|
||||
|
|
|
@ -32,7 +32,7 @@ if status --is-interactive
|
|||
and not string match -q -- 'eterm*' $TERM
|
||||
and begin
|
||||
set -q KONSOLE_PROFILE_NAME # KDE's konsole
|
||||
or test -n "$KONSOLE_VERSION" -a "$KONSOLE_VERSION" -ge "200400" # konsole, but new.
|
||||
or test -n "$KONSOLE_VERSION" -a "$KONSOLE_VERSION" -ge 200400 # konsole, but new.
|
||||
or string match -q -- "*:*" $ITERM_SESSION_ID # Supporting versions of iTerm2 will include a colon here
|
||||
or string match -q -- "st-*" $TERM # suckless' st
|
||||
or test -n "$VTE_VERSION" -a "$VTE_VERSION" -ge 3600 # Should be all gtk3-vte-based terms after version 3.6.0.0
|
||||
|
|
|
@ -88,7 +88,7 @@ function __fish_complete_docutils_html -d "Completions for Docutils HTML options
|
|||
complete -c $cmd -l stylesheet-dirs -d "List of directories where stylesheets are found"
|
||||
complete -x -c $cmd -l initial-header-level -a "1 2 3 4 5 6" -d "Specify the initial header level"
|
||||
|
||||
if test $cmd != "rst2html5"
|
||||
if test $cmd != rst2html5
|
||||
complete -c $cmd -l field-name-limit -d "Specify the limit for field names"
|
||||
complete -c $cmd -l option-limit -d "Specify the limit for options"
|
||||
end
|
||||
|
@ -100,15 +100,15 @@ function __fish_complete_docutils_html -d "Completions for Docutils HTML options
|
|||
complete -c $cmd -l compact-field-lists -d "Enable compact field lists"
|
||||
complete -c $cmd -l no-compact-field-lists -d "Disable compact field lists"
|
||||
|
||||
if test $cmd = "rst2html5"
|
||||
if test $cmd = rst2html5
|
||||
complete -x -c $cmd -l table-style -a "borderless booktabs align-left align-center align-right colwidths-auto" -d "Specify table style"
|
||||
else
|
||||
complete -x -c $cmd -l table-style -a "borderless" -d "Specify table style"
|
||||
complete -x -c $cmd -l table-style -a borderless -d "Specify table style"
|
||||
end
|
||||
|
||||
complete -x -c $cmd -l math-output -a "MathML HTML MathJax LaTeX" -d "Math output format"
|
||||
|
||||
if test $cmd = "rst2html5"
|
||||
if test $cmd = rst2html5
|
||||
complete -c $cmd -l xml-declaration -d "Prepend an XML declaration"
|
||||
end
|
||||
|
||||
|
@ -150,7 +150,7 @@ function __fish_complete_docutils_latex -d "Completions for Docutils LaTeX optio
|
|||
complete -x -c $cmd -l table-style -a "standard booktabs borderless" -d "Table style"
|
||||
complete -x -c $cmd -l graphicx-option -a "dvips pdftex auto" -d "LaTeX graphicx package option"
|
||||
|
||||
if test $cmd = "rst2latex"
|
||||
if test $cmd = rst2latex
|
||||
complete -x -c $cmd -l font-encoding -a "T1 OT1 LGR,T1" -d "LaTeX font encoding"
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ function fish_job_summary -a job_id is_foreground cmd_line signal_or_end_name si
|
|||
# signals. If echoctl is on, then the terminal will have written ^C to the console.
|
||||
# If off, it won't have. We don't echo ^C either way, so as to respect the user's
|
||||
# preference.
|
||||
if test $signal_or_end_name = "SIGINT"; and test $is_foreground -eq 1
|
||||
if test $signal_or_end_name = SIGINT; and test $is_foreground -eq 1
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -36,9 +36,9 @@ function fish_job_summary -a job_id is_foreground cmd_line signal_or_end_name si
|
|||
end
|
||||
|
||||
switch $signal_or_end_name
|
||||
case "STOPPED"
|
||||
case STOPPED
|
||||
printf ( _ "fish: Job %s, '%s' has stopped\n" ) $job_id $cmd_line
|
||||
case "ENDED"
|
||||
case ENDED
|
||||
printf ( _ "fish: Job %s, '%s' has ended\n" ) $job_id $cmd_line
|
||||
case 'SIG*'
|
||||
if test -n "$proc_pid"
|
||||
|
|
|
@ -41,7 +41,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
|||
# Note: Previous versions also checked $TMUX, and made sure that then $TERM was screen* or tmux*.
|
||||
# We don't care, since we *cannot* handle term-in-a-terms 100% correctly.
|
||||
if not set -q KONSOLE_PROFILE_NAME
|
||||
and not test -n "$KONSOLE_VERSION" -a "$KONSOLE_VERSION" -ge "200400" # konsole, but new.
|
||||
and not test -n "$KONSOLE_VERSION" -a "$KONSOLE_VERSION" -ge 200400 # konsole, but new.
|
||||
and not set -q ITERM_PROFILE
|
||||
and not set -q VTE_VERSION # which version is already checked above
|
||||
and not set -q WT_PROFILE_ID
|
||||
|
|
Loading…
Reference in a new issue