mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Run fish_indent on share/**.fish
This commit is contained in:
parent
19943576e4
commit
eb59d4eb14
17 changed files with 245 additions and 245 deletions
|
@ -1,16 +1,16 @@
|
|||
# Completions for p7zip
|
||||
|
||||
# Commands
|
||||
complete -f -c 7z -n __fish_use_subcommand -a a -d "Add"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a b -d "Benchmark"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a d -d "Delete"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a e -d "Extract"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a h -d "Hash"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a a -d Add
|
||||
complete -f -c 7z -n __fish_use_subcommand -a b -d Benchmark
|
||||
complete -f -c 7z -n __fish_use_subcommand -a d -d Delete
|
||||
complete -f -c 7z -n __fish_use_subcommand -a e -d Extract
|
||||
complete -f -c 7z -n __fish_use_subcommand -a h -d Hash
|
||||
complete -f -c 7z -n __fish_use_subcommand -a i -d "Show information about supported formats"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a l -d "List"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a rn -d "Rename"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a t -d "Test"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a u -d "Update"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a l -d List
|
||||
complete -f -c 7z -n __fish_use_subcommand -a rn -d Rename
|
||||
complete -f -c 7z -n __fish_use_subcommand -a t -d Test
|
||||
complete -f -c 7z -n __fish_use_subcommand -a u -d Update
|
||||
complete -f -c 7z -n __fish_use_subcommand -a x -d "Extract with full paths"
|
||||
|
||||
# Switches
|
||||
|
|
|
@ -15,20 +15,20 @@ function __fish_k3d_print_nodes --description 'Print a list of k3d nodes'
|
|||
k3d node list --no-headers | awk '{print $1}'
|
||||
end
|
||||
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -s h -l help -d "More information about a command"
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -l version -d "Show k3d and default k3s version"
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -a cluster -d "Manage cluster(s)"
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -a version -d "Show k3d and default k3s version"
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -a image -d "Handle container images"
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -a kubeconfig -d "Manage kubeconfig(s)"
|
||||
complete -f -c k3d -n '__fish_k3d_no_subcommand' -a node -d "Manage node(s)"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -s h -l help -d "More information about a command"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -l version -d "Show k3d and default k3s version"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -a cluster -d "Manage cluster(s)"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -a version -d "Show k3d and default k3s version"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -a image -d "Handle container images"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -a kubeconfig -d "Manage kubeconfig(s)"
|
||||
complete -f -c k3d -n __fish_k3d_no_subcommand -a node -d "Manage node(s)"
|
||||
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster' -a create -d "Create a new cluster"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster' -a list -d "List cluster(s)"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster' -a delete -d "Delete cluster(s)"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster' -a start -d "Start existing k3d cluster(s)"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster' -a stop -d "Stop existing k3d cluster(s)"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster; and __fish_seen_subcommand_from delete start stop' -a '(__fish_k3d_print_clusters)' -d "Cluster"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster; and __fish_seen_subcommand_from delete start stop' -a '(__fish_k3d_print_clusters)' -d Cluster
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from cluster' -s h -l help -d "Print usage"
|
||||
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from image' -a import -d "Import image(s) from docker into k3d cluster(s)"
|
||||
|
@ -37,7 +37,7 @@ complete -f -c k3d -n '__fish_seen_subcommand_from image' -s h -l help -d "Print
|
|||
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from kubeconfig' -a get -d "Get kubeconfig from cluster(s)"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from kubeconfig' -a merge -d "Merge/write kubeconfig(s) from cluster(s) into existing kubeconfig/file"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from kubeconfig get merge' -a '(__fish_k3d_print_clusters)' -d "Cluster"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from kubeconfig get merge' -a '(__fish_k3d_print_clusters)' -d Cluster
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from kubeconfig get merge' -s a -l all -d "Get kubeconfig from all existing clusters"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from kubeconfig' -s h -l help -d "Print usage"
|
||||
|
||||
|
@ -46,5 +46,5 @@ complete -f -c k3d -n '__fish_seen_subcommand_from node' -a delete -d "Delete no
|
|||
complete -f -c k3d -n '__fish_seen_subcommand_from node' -a list -d "List node(s)"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from node' -a start -d "Start an existing k3d node"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from node' -a stop -d "Stop an existing k3d node"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from node; and __fish_seen_subcommand_from delete start stop' -a '(__fish_k3d_print_nodes)' -d "Node"
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from node; and __fish_seen_subcommand_from delete start stop' -a '(__fish_k3d_print_nodes)' -d Node
|
||||
complete -f -c k3d -n '__fish_seen_subcommand_from node' -s h -l help -d "Print usage"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
set -l commands info trigger settle control monitor test test-builtin
|
||||
complete -c udevadm -n '__fish_is_first_token' -xa "$commands"
|
||||
complete -c udevadm -n __fish_is_first_token -xa "$commands"
|
||||
|
||||
complete -c udevadm -s h -l help -d "Show help"
|
||||
complete -c udevadm -s V -l version -d "Show version info"
|
||||
|
||||
# udevadm info
|
||||
set -l query_type "name\t'Name of device node'" "symlink\t'Pointing to node'" "path\t'sysfs device path'" "property\t'Device properties'" "all"
|
||||
set -l query_type "name\t'Name of device node'" "symlink\t'Pointing to node'" "path\t'sysfs device path'" "property\t'Device properties'" all
|
||||
complete -c udevadm -n '__fish_seen_subcommand_from info' -s q -l query -d "Query device information" -xa "$query_type"
|
||||
complete -c udevadm -n '__fish_seen_subcommand_from info' -s p -l path -d "sysfs device path" -f
|
||||
complete -c udevadm -n '__fish_seen_subcommand_from info' -s n -l name -d "Node or symlink name"
|
||||
|
|
|
@ -86,21 +86,21 @@ complete -F -r -c yadm -l yadm-archive -d 'Override location of yadm encrypted f
|
|||
complete -F -r -c yadm -l yadm-bootstrap -d 'Override location of yadm bootstrap program'
|
||||
|
||||
# Subcommands
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a version -d 'Print yadm version'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a init -d 'Initialize new repository for tracking dotfiles'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a config -d 'Manage configuration for yadm'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a list -d 'Print list of files managed by yadm'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a bootstrap -d 'Execute bootstrap script'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a encrypt -d 'Encrypt files matched by encrypt spec file'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a decrypt -d 'Decrypt files matched by encrypt spec file'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a alt -d 'Setup and process alternate files'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a perms -d 'Update permissions'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a enter -d 'Run sub-shell with all git variables set'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a git-crypt -d 'Pass options to git-crypt if installed'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a gitconfig -d 'Pass options to the git config command'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a upgrade -d 'Migrate from v1 to v2'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a introspect -d 'Report internal yadm data'
|
||||
complete -f -c yadm -n "__fish_yadm_needs_command" -a clone -d 'Clone remote repository for tracking dotfiles'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a version -d 'Print yadm version'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a init -d 'Initialize new repository for tracking dotfiles'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a config -d 'Manage configuration for yadm'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a list -d 'Print list of files managed by yadm'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a bootstrap -d 'Execute bootstrap script'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a encrypt -d 'Encrypt files matched by encrypt spec file'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a decrypt -d 'Decrypt files matched by encrypt spec file'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a alt -d 'Setup and process alternate files'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a perms -d 'Update permissions'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a enter -d 'Run sub-shell with all git variables set'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a git-crypt -d 'Pass options to git-crypt if installed'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a gitconfig -d 'Pass options to the git config command'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a upgrade -d 'Migrate from v1 to v2'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a introspect -d 'Report internal yadm data'
|
||||
complete -f -c yadm -n __fish_yadm_needs_command -a clone -d 'Clone remote repository for tracking dotfiles'
|
||||
|
||||
# Options for subcommands
|
||||
complete -f -c yadm -n "__fish_yadm_using_command init" -s f -d 'Overwrite existing repository'
|
||||
|
|
|
@ -136,7 +136,6 @@ function __fish_complete_mount_opts
|
|||
user_xattr\
|
||||
acl\
|
||||
|
||||
|
||||
set -l token (commandline -tc | string replace -r '^-o' -- '')
|
||||
set -l args (string split , -- $token)
|
||||
|
||||
|
|
|
@ -663,7 +663,8 @@ function __fish_git_prompt_set_char
|
|||
end
|
||||
|
||||
if set -q argv[3]
|
||||
and begin set -q __fish_git_prompt_show_informative_status
|
||||
and begin
|
||||
set -q __fish_git_prompt_show_informative_status
|
||||
or set -q __fish_git_prompt_use_informative_chars
|
||||
end
|
||||
set char $argv[3]
|
||||
|
|
|
@ -25,7 +25,7 @@ function fish_prompt --description 'Write out the prompt'
|
|||
end
|
||||
|
||||
# Write pipestatus
|
||||
set -l bold_flag '--bold'
|
||||
set -l bold_flag --bold
|
||||
if test $__fish_prompt_status_generation = $status_generation
|
||||
set bold_flag
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue