mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 09:45:25 +08:00
Run fish_indent on all non-test .fish files
This commit is contained in:
parent
37f385b193
commit
566a673e4f
|
@ -1089,4 +1089,3 @@ alias alias1020='something --arg1020'
|
|||
alias alias1021='something --arg1021'
|
||||
alias alias1022='something --arg1022'
|
||||
alias alias1023='something --arg1023'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
for i in (seq 2000)
|
||||
command true
|
||||
end
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@ set -g whitelist \
|
|||
# unclear what this is \
|
||||
l_constinit \
|
||||
# hacks to work around missing ncurses strings on mac \
|
||||
sitm_esc ritm_esc dim_esc \
|
||||
|
||||
sitm_esc ritm_esc dim_esc
|
||||
|
||||
# In our nm regex, we are interested in data (dD) and bss (bB) segments.
|
||||
set -g nm_regex '^([^ ]+) ([dDbB])'
|
||||
|
@ -24,8 +23,7 @@ set -l total_globals 0
|
|||
set -l boring_files \
|
||||
fish_key_reader.cpp.o \
|
||||
fish_tests.cpp.o \
|
||||
fish_indent.cpp.o \
|
||||
|
||||
fish_indent.cpp.o
|
||||
|
||||
# return if we should ignore the given symbol name
|
||||
function should_ignore
|
||||
|
|
|
@ -7,24 +7,24 @@ complete -c clasp -s W -l why -d "Display some debugging info upon exit."
|
|||
complete -c clasp -s h -l help -d "display help for command"
|
||||
|
||||
# subcommands
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa login -d "Log in to script.google.com"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa logout -d "Log out"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa create -d "Create a script"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa clone -d "Clone a project"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa pull -d "Fetch a remote project"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa push -d "Update the remote project"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa status -d "Lists files that will be pushed by clasp"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa open -d "Open a script"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa deployments -d "List deployment ids of a script"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa deploy -d "Deploy a project"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa undeploy -d "Undeploy a deployment of a project"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa version -d "Creates an immutable version of the script"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa versions -d "List versions of a script"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa list -d "List App Scripts projects"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa logs -d "Shows the StackDriver logs"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa run -d "Run a function in your Apps Scripts project"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa apis -d "List, enable, or disable APIs"
|
||||
complete -f -c clasp -n '__fish_use_subcommand' -xa help -d "display help for command"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa login -d "Log in to script.google.com"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa logout -d "Log out"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa create -d "Create a script"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa clone -d "Clone a project"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa pull -d "Fetch a remote project"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa push -d "Update the remote project"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa status -d "Lists files that will be pushed by clasp"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa open -d "Open a script"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa deployments -d "List deployment ids of a script"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa deploy -d "Deploy a project"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa undeploy -d "Undeploy a deployment of a project"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa version -d "Creates an immutable version of the script"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa versions -d "List versions of a script"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa list -d "List App Scripts projects"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa logs -d "Shows the StackDriver logs"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa run -d "Run a function in your Apps Scripts project"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa apis -d "List, enable, or disable APIs"
|
||||
complete -f -c clasp -n __fish_use_subcommand -xa help -d "display help for command"
|
||||
|
||||
# login options
|
||||
complete -c clasp -n '__fish_seen_subcommand_from login' -l no-localhost -d 'Do not run a local server, manually enter code instead'
|
||||
|
|
|
@ -6,15 +6,15 @@ complete -c dart -l enable-analytics -d "Enable analytics."
|
|||
complete -c dart -l disable-analytics -d "Disable analytics."
|
||||
|
||||
# commands
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa analyze -d "Analyze Dart code in a directory."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa compile -d "Compile Dart to various formats."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa create -d "Create a new Dart project."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa fix -d "Apply automated fixes to Dart source code."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa format -d "Idiomatically format Dart source code."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa migrate -d "Perform null safety migration on a project."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa pub -d "Work with packages."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa run -d "Run a Dart program."
|
||||
complete -f -c dart -n '__fish_use_subcommand' -xa test -d "Run tests for a project."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa analyze -d "Analyze Dart code in a directory."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa compile -d "Compile Dart to various formats."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa create -d "Create a new Dart project."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa fix -d "Apply automated fixes to Dart source code."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa format -d "Idiomatically format Dart source code."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa migrate -d "Perform null safety migration on a project."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa pub -d "Work with packages."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa run -d "Run a Dart program."
|
||||
complete -f -c dart -n __fish_use_subcommand -xa test -d "Run tests for a project."
|
||||
|
||||
# analyze
|
||||
complete -c dart -n '__fish_seen_subcommand_from analyze' -l fatal-infos -d 'Treat info level issues as fatal.'
|
||||
|
|
|
@ -2,7 +2,7 @@ complete -c elvish -o help -d 'Show help and exit'
|
|||
complete -c elvish -o version -d 'Show version and exit'
|
||||
|
||||
complete -c elvish -o buildinfo -d 'Show build info and exit'
|
||||
complete -c elvish -s c -o compileonly -d 'Compile'
|
||||
complete -c elvish -s c -o compileonly -d Compile
|
||||
complete -c elvish -o cpuprofile -d 'Write cpu profile'
|
||||
complete -c elvish -o deprecation-level -f -d 'Warn about deprecated features'
|
||||
complete -c elvish -s i -o json -d 'Show output in JSON'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
complete fish_config -f
|
||||
set -l prompt_commands choose save show list
|
||||
set -l theme_commands choose demo dump save show list
|
||||
complete fish_config -n '__fish_use_subcommand' -a prompt -d 'View and pick from the sample prompts'
|
||||
complete fish_config -n __fish_use_subcommand -a prompt -d 'View and pick from the sample prompts'
|
||||
complete fish_config -n "__fish_seen_subcommand_from prompt; and not __fish_seen_subcommand_from $prompt_commands" \
|
||||
-a choose -d 'View and pick from the sample prompts'
|
||||
complete fish_config -n "__fish_seen_subcommand_from prompt; and not __fish_seen_subcommand_from $prompt_commands" \
|
||||
|
@ -12,9 +12,9 @@ complete fish_config -n "__fish_seen_subcommand_from prompt; and not __fish_seen
|
|||
-a save -d 'Save the current or given prompt to ~/.config/fish'
|
||||
complete fish_config -n '__fish_seen_subcommand_from prompt; and __fish_seen_subcommand_from choose save show' -a '(fish_config prompt list)'
|
||||
|
||||
complete fish_config -n '__fish_use_subcommand' -a browse -d 'Open the web-based UI'
|
||||
complete fish_config -n __fish_use_subcommand -a browse -d 'Open the web-based UI'
|
||||
|
||||
complete fish_config -n '__fish_use_subcommand' -a theme -d 'View and pick from the sample themes'
|
||||
complete fish_config -n __fish_use_subcommand -a theme -d 'View and pick from the sample themes'
|
||||
complete fish_config -n '__fish_seen_subcommand_from theme; and __fish_seen_subcommand_from choose save show' -a '(fish_config theme list)'
|
||||
complete fish_config -n "__fish_seen_subcommand_from theme; and not __fish_seen_subcommand_from $theme_commands" \
|
||||
-a choose -d 'View and pick from the sample themes'
|
||||
|
|
|
@ -23,8 +23,8 @@ function __fish_hashcat_device_types --description "Get hashcat device types"
|
|||
3\t'FPGA, DSP, Co-Processor'"
|
||||
end
|
||||
|
||||
complete -c hashcat -s m -l hash-type -xa "(__fish_hashcat_types)" -d "Hash-type"
|
||||
complete -c hashcat -s a -l attack-mode -d "Attack-mode" -xa "
|
||||
complete -c hashcat -s m -l hash-type -xa "(__fish_hashcat_types)" -d Hash-type
|
||||
complete -c hashcat -s a -l attack-mode -d Attack-mode -xa "
|
||||
0\t'Straight'
|
||||
1\t'Combination'
|
||||
3\t'Brute-force'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
complete -c mono -s h -l help -d 'Show help and exit'
|
||||
complete -c mono -s V -l version -a 'number' -f -d 'Show version and exit'
|
||||
complete -c mono -s V -l version -a number -f -d 'Show version and exit'
|
||||
|
||||
complete -c mono -l aot -a 'asmonly bind-to-runtime-version data-outfile direct-icalls
|
||||
direct-pinvoke dwarfdebug full hybrid llvm llvmonly llvmopts llvmllc mcpu dedup-include
|
||||
|
@ -21,7 +21,7 @@ complete -c mono -l runtime -f -d 'Use runtime version'
|
|||
complete -c mono -l optimize -a 'abcrem all aot branch cfold cmov deadce consprop copyprop
|
||||
fcmov float32 gshared inline intrins linears leaf loop peephole precomp sched shared
|
||||
sse2 tailc' -f -d 'Use optimizations'
|
||||
complete -c mono -l attach -a 'disable' -f -d 'Specify attach agent options'
|
||||
complete -c mono -l attach -a disable -f -d 'Specify attach agent options'
|
||||
complete -c mono -l llvm -d 'Use LLVM'
|
||||
complete -c mono -l nollvm -d 'Don\'t use LLVM'
|
||||
complete -c mono -l gc -a 'sgen boehm' -f -d 'Specify garbage collector'
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
complete -c ng -f -d "The Angular CLI"
|
||||
|
||||
complete -c ng -n __fish_use_subcommand -a "add" -d "Add dependency"
|
||||
complete -c ng -n __fish_use_subcommand -a "analytics" -d "Configure analytics"
|
||||
complete -c ng -n __fish_use_subcommand -a "build" -d "Compile Angular app"
|
||||
complete -c ng -n __fish_use_subcommand -a "config" -d "get/set config vars"
|
||||
complete -c ng -n __fish_use_subcommand -a "deploy" -d "Deploy builder"
|
||||
complete -c ng -n __fish_use_subcommand -a "doc" -d "Search documentation"
|
||||
complete -c ng -n __fish_use_subcommand -a "e2e" -d "Run e2e tests"
|
||||
complete -c ng -n __fish_use_subcommand -a "extract-i18n" -d "Extracts i18n"
|
||||
complete -c ng -n __fish_use_subcommand -a "make-this-awesome" -d ""
|
||||
complete -c ng -n __fish_use_subcommand -a "generate" -d "Create <schematic>"
|
||||
complete -c ng -n __fish_use_subcommand -a "help" -d "Display help"
|
||||
complete -c ng -n __fish_use_subcommand -a "lint" -d "Run linter"
|
||||
complete -c ng -n __fish_use_subcommand -a "new" -d "New workspace"
|
||||
complete -c ng -n __fish_use_subcommand -a "run" -d "Run Architect"
|
||||
complete -c ng -n __fish_use_subcommand -a "serve" -d "Start dev server"
|
||||
complete -c ng -n __fish_use_subcommand -a "test" -d "Run unit tests"
|
||||
complete -c ng -n __fish_use_subcommand -a "update" -d "Update deps"
|
||||
complete -c ng -n __fish_use_subcommand -a "version" -d "Display version"
|
||||
complete -c ng -n __fish_use_subcommand -a add -d "Add dependency"
|
||||
complete -c ng -n __fish_use_subcommand -a analytics -d "Configure analytics"
|
||||
complete -c ng -n __fish_use_subcommand -a build -d "Compile Angular app"
|
||||
complete -c ng -n __fish_use_subcommand -a config -d "get/set config vars"
|
||||
complete -c ng -n __fish_use_subcommand -a deploy -d "Deploy builder"
|
||||
complete -c ng -n __fish_use_subcommand -a doc -d "Search documentation"
|
||||
complete -c ng -n __fish_use_subcommand -a e2e -d "Run e2e tests"
|
||||
complete -c ng -n __fish_use_subcommand -a extract-i18n -d "Extracts i18n"
|
||||
complete -c ng -n __fish_use_subcommand -a make-this-awesome -d ""
|
||||
complete -c ng -n __fish_use_subcommand -a generate -d "Create <schematic>"
|
||||
complete -c ng -n __fish_use_subcommand -a help -d "Display help"
|
||||
complete -c ng -n __fish_use_subcommand -a lint -d "Run linter"
|
||||
complete -c ng -n __fish_use_subcommand -a new -d "New workspace"
|
||||
complete -c ng -n __fish_use_subcommand -a run -d "Run Architect"
|
||||
complete -c ng -n __fish_use_subcommand -a serve -d "Start dev server"
|
||||
complete -c ng -n __fish_use_subcommand -a test -d "Run unit tests"
|
||||
complete -c ng -n __fish_use_subcommand -a update -d "Update deps"
|
||||
complete -c ng -n __fish_use_subcommand -a version -d "Display version"
|
||||
|
|
|
@ -79,7 +79,7 @@ switch $ping_version
|
|||
complete -c ping -s I -d "Source interface or IP address" -xa "(__fish_print_interfaces; __fish_print_addresses)"
|
||||
complete -c ping -s W -d "Seconds to wait for the first response" -x
|
||||
complete -c ping -s w -d "Seconds until ping exits" -x
|
||||
complete -c ping -s q -d "Quiet"
|
||||
complete -c ping -s q -d Quiet
|
||||
complete -c ping -s p -d "Payload pattern" -x
|
||||
|
||||
case '*'
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
### subcommands
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa run -d "Run repl"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa install -d "Install a given implementation or a system for roswell environment"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa update -d "Update installed systems."
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa build -d "Make executable from script."
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa use -d "Change default implementation."
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa init -d "Creates a new ros script, optionally based on a template."
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa fmt -d "Indent lisp source."
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa list -d "List Information"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa template -d "Manage templates"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa delete -d "Delete installed implementations"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa config -d "Get and set options"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa version -d "Show the roswell version information"
|
||||
complete -f -c ros -n '__fish_use_subcommand' -xa help -d "Use \"ros help [command]\" for more information about a command."
|
||||
complete -f -c ros -n __fish_use_subcommand -xa run -d "Run repl"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa install -d "Install a given implementation or a system for roswell environment"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa update -d "Update installed systems."
|
||||
complete -f -c ros -n __fish_use_subcommand -xa build -d "Make executable from script."
|
||||
complete -f -c ros -n __fish_use_subcommand -xa use -d "Change default implementation."
|
||||
complete -f -c ros -n __fish_use_subcommand -xa init -d "Creates a new ros script, optionally based on a template."
|
||||
complete -f -c ros -n __fish_use_subcommand -xa fmt -d "Indent lisp source."
|
||||
complete -f -c ros -n __fish_use_subcommand -xa list -d "List Information"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa template -d "Manage templates"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa delete -d "Delete installed implementations"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa config -d "Get and set options"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa version -d "Show the roswell version information"
|
||||
complete -f -c ros -n __fish_use_subcommand -xa help -d "Use \"ros help [command]\" for more information about a command."
|
||||
|
||||
### help
|
||||
set -l __roswell_helps "run install update build use init fmt list template delete config version"
|
||||
|
@ -49,7 +49,7 @@ complete -c ros -n '__fish_seen_subcommand_from run' -l write -d 'evaluate and w
|
|||
complete -c ros -n '__fish_seen_subcommand_from run' -s F -d 'evaluate FORM before dumping IMAGE'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -l final -d 'evaluate FORM before dumping IMAGE'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -a +R -d 'skip /etc/rosrc, ~/.roswell/init.lisp'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -l "no-rc" -d 'skip /etc/rosrc, ~/.roswell/init.lisp'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -l no-rc -d 'skip /etc/rosrc, ~/.roswell/init.lisp'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -s A -d 'use new asdf'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -l asdf -d 'use new asdf'
|
||||
complete -c ros -n '__fish_seen_subcommand_from run' -a +Q -d 'do not use quicklisp'
|
||||
|
|
|
@ -27,29 +27,29 @@ complete -c systemd-analyze -l no-pager -d 'Do not pipe output into a pager'
|
|||
|
||||
# subcommands
|
||||
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a time -d "Print timing statistics"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a blame -d "Print list of running units ordered by time to init"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a time -d "Print timing statistics"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a blame -d "Print list of running units ordered by time to init"
|
||||
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a critical-chain -d "Print a tree of the time critical chain of units"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a critical-chain -d "Print a tree of the time critical chain of units"
|
||||
complete -c systemd-analyze -n "__fish_seen_subcommand_from critical-chain" -a "(__fish_systemd_units)"
|
||||
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a dump -d "Output serialization of server state"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a plot -d "Output SVG graphic showing service initialization"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a dot -d "Output dependency graph in dot(1) format"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a unit-paths -d "List all directories from which unit files may be loaded"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a exit-status -d "List exit statuses along with their class"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a capability -d "List Linux capabilities along with their numeric IDs"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a condition -d "Evaluate Condition and Assert assignments"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a syscall-filter -d "List system calls contained in the specified system call set"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a calendar -d "Normalize repetitive calendar events and calculate when they elapse next"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a timestamp -d "Parse timestamp and output the normalized form"
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a timestamp -d "Parse time span and output the normalized form"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a dump -d "Output serialization of server state"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a plot -d "Output SVG graphic showing service initialization"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a dot -d "Output dependency graph in dot(1) format"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a unit-paths -d "List all directories from which unit files may be loaded"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a exit-status -d "List exit statuses along with their class"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a capability -d "List Linux capabilities along with their numeric IDs"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a condition -d "Evaluate Condition and Assert assignments"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a syscall-filter -d "List system calls contained in the specified system call set"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a calendar -d "Normalize repetitive calendar events and calculate when they elapse next"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a timestamp -d "Parse timestamp and output the normalized form"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a timestamp -d "Parse time span and output the normalized form"
|
||||
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a cat-config -d "Show contents of a config file"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a cat-config -d "Show contents of a config file"
|
||||
complete -c systemd-analyze -n "__fish_seen_subcommand_from cat-config" -F
|
||||
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a verify -d "Check unit files for correctness"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a verify -d "Check unit files for correctness"
|
||||
complete -c systemd-analyze -n "__fish_seen_subcommand_from verify" -F
|
||||
|
||||
complete -c systemd-analyze -n "__fish_use_subcommand" -a security -d "Analyze security settings of specified service units"
|
||||
complete -c systemd-analyze -n __fish_use_subcommand -a security -d "Analyze security settings of specified service units"
|
||||
complete -c systemd-analyze -n "__fish_seen_subcommand_from security" -a "(__fish_systemctl_services)"
|
||||
|
|
|
@ -3,6 +3,6 @@ complete -c wineboot -s e -l end-session -d 'End current session cleanly'
|
|||
complete -c wineboot -s f -l force -d 'Force exit processes don\'t exit cleanly'
|
||||
complete -c wineboot -s i -l init -d 'Perform initialization for first Wine instance'
|
||||
complete -c wineboot -s k -l kill -d 'Kill processes without cleanup'
|
||||
complete -c wineboot -s r -l restart -d 'Restart'
|
||||
complete -c wineboot -s s -l shutdown -d 'Shutdown'
|
||||
complete -c wineboot -s r -l restart -d Restart
|
||||
complete -c wineboot -s s -l shutdown -d Shutdown
|
||||
complete -c wineboot -s u -l update -d 'Update wineprefix directory'
|
||||
|
|
|
@ -111,7 +111,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
|
|||
|
||||
# term-specific special bindings
|
||||
switch "$TERM"
|
||||
case 'st-256color'
|
||||
case st-256color
|
||||
# suckless and bash/zsh/fish have a different approach to how the terminal should be configured;
|
||||
# the major effect is that several keys do not work as intended.
|
||||
# This is a workaround, there will be additions in he future.
|
||||
|
|
|
@ -46,7 +46,7 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
|
|||
and not set -q VTE_VERSION # which version is already checked above
|
||||
and not set -q WT_PROFILE_ID
|
||||
and not set -q XTERM_VERSION
|
||||
and not string match -q "Apple_Terminal" -- $TERM_PROGRAM
|
||||
and not string match -q Apple_Terminal -- $TERM_PROGRAM
|
||||
and not string match -rq '^st(-.*)$' -- $TERM
|
||||
and not string match -q 'xterm-kitty*' -- $TERM
|
||||
and not string match -q 'rxvt*' -- $TERM
|
||||
|
|
Loading…
Reference in New Issue
Block a user