Run fish_indent on share/**.fish

This is mostly to show that some of my following indent changes don't break
current behavior.
This commit is contained in:
Johannes Altmanninger 2021-02-08 05:12:04 +01:00
parent e40850ab89
commit 330883b6fd
9 changed files with 68 additions and 74 deletions

View File

@ -13,4 +13,3 @@ complete -c dm-tool -n "not __fish_seen_subcommand_from $cmds" -xa "$cmds"
set -l session_users "(dm-tool list-seats | string replace -rf '.*UserName=' '' | string trim -c '\'')"
set -l has_user "__fish_seen_subcommand_from $session_users"
complete -c dm-tool -n "__fish_seen_subcommand_from switch-to-user; and not $has_user" -xa "$session_users"

View File

@ -9,23 +9,23 @@ complete -c gem -n __fish_use_subcommand -s v -l version -d "Print the version a
#####
# Subcommands
complete -c gem -n __fish_use_subcommand -xa "build" -d "Build a gem from a gemspec"
complete -c gem -n __fish_use_subcommand -xa "cert" -d "Adjust RubyGems certificate settings"
complete -c gem -n __fish_use_subcommand -xa "check" -d "Check installed gems"
complete -c gem -n __fish_use_subcommand -xa "cleanup" -d "Cleanup old versions of installed gems in the local repository"
complete -c gem -n __fish_use_subcommand -xa "contents" -d "Display the contents of the installed gems"
complete -c gem -n __fish_use_subcommand -xa "dependency" -d "Show the dependencies of an installed gem"
complete -c gem -n __fish_use_subcommand -xa "environment" -d "Display RubyGems environmental information"
complete -c gem -n __fish_use_subcommand -xa "help" -d "Provide help on the 'gem' command"
complete -c gem -n __fish_use_subcommand -xa "install" -d "Install a gem into the local repository"
complete -c gem -n __fish_use_subcommand -xa "list" -d "Display all gems whose name starts with STRING"
complete -c gem -n __fish_use_subcommand -xa "query" -d "Query gem information in local or remote repositories"
complete -c gem -n __fish_use_subcommand -xa "rdoc" -d "Generates RDoc for pre-installed gems"
complete -c gem -n __fish_use_subcommand -xa "search" -d "Display all gems whose name contains STRING"
complete -c gem -n __fish_use_subcommand -xa "specification" -d "Display gem specification (in YAML)"
complete -c gem -n __fish_use_subcommand -xa "uninstall" -d "Uninstall a gem from the local repository"
complete -c gem -n __fish_use_subcommand -xa "unpack" -d "Unpack an installed gem to the current directory"
complete -c gem -n __fish_use_subcommand -xa "update" -d "Update the named gem or all installed gems in the local repository"
complete -c gem -n __fish_use_subcommand -xa build -d "Build a gem from a gemspec"
complete -c gem -n __fish_use_subcommand -xa cert -d "Adjust RubyGems certificate settings"
complete -c gem -n __fish_use_subcommand -xa check -d "Check installed gems"
complete -c gem -n __fish_use_subcommand -xa cleanup -d "Cleanup old versions of installed gems in the local repository"
complete -c gem -n __fish_use_subcommand -xa contents -d "Display the contents of the installed gems"
complete -c gem -n __fish_use_subcommand -xa dependency -d "Show the dependencies of an installed gem"
complete -c gem -n __fish_use_subcommand -xa environment -d "Display RubyGems environmental information"
complete -c gem -n __fish_use_subcommand -xa help -d "Provide help on the 'gem' command"
complete -c gem -n __fish_use_subcommand -xa install -d "Install a gem into the local repository"
complete -c gem -n __fish_use_subcommand -xa list -d "Display all gems whose name starts with STRING"
complete -c gem -n __fish_use_subcommand -xa query -d "Query gem information in local or remote repositories"
complete -c gem -n __fish_use_subcommand -xa rdoc -d "Generates RDoc for pre-installed gems"
complete -c gem -n __fish_use_subcommand -xa search -d "Display all gems whose name contains STRING"
complete -c gem -n __fish_use_subcommand -xa specification -d "Display gem specification (in YAML)"
complete -c gem -n __fish_use_subcommand -xa uninstall -d "Uninstall a gem from the local repository"
complete -c gem -n __fish_use_subcommand -xa unpack -d "Unpack an installed gem to the current directory"
complete -c gem -n __fish_use_subcommand -xa update -d "Update the named gem or all installed gems in the local repository"
#####
# Subcommand switches

View File

@ -1,44 +1,44 @@
complete --command launchctl -n __fish_use_subcommand -xa "bootstrap" -d "Bootstraps a domain or a service into a domain"
complete --command launchctl -n __fish_use_subcommand -xa "bootout" -d "Tears down a domain or removes a service from a domain"
complete --command launchctl -n __fish_use_subcommand -xa "enable" -d "Enables an existing service"
complete --command launchctl -n __fish_use_subcommand -xa "disable" -d "Disables an existing service"
complete --command launchctl -n __fish_use_subcommand -xa "uncache" -d "Removes the specified service name from the service cache"
complete --command launchctl -n __fish_use_subcommand -xa "kickstart" -d "Forces an existing service to start"
complete --command launchctl -n __fish_use_subcommand -xa "attach" -d "Attach the system's debugger to a service"
complete --command launchctl -n __fish_use_subcommand -xa "debug" -d "Configures the next invocation of a service for debugging"
complete --command launchctl -n __fish_use_subcommand -xa "kill" -d "Sends a signal to the service instance"
complete --command launchctl -n __fish_use_subcommand -xa "blame" -d "Prints the reason a service is running"
complete --command launchctl -n __fish_use_subcommand -xa "print" -d "Prints a description of a domain or service"
complete --command launchctl -n __fish_use_subcommand -xa "print-cache" -d "Prints information about the service cache"
complete --command launchctl -n __fish_use_subcommand -xa "print-disabled" -d "Prints which services are disabled"
complete --command launchctl -n __fish_use_subcommand -xa "plist" -d "Prints a property list embedded in a binary (targets the Info.plist by default)"
complete --command launchctl -n __fish_use_subcommand -xa "procinfo" -d "Prints port information about a process"
complete --command launchctl -n __fish_use_subcommand -xa "hostinfo" -d "Prints port information about the host"
complete --command launchctl -n __fish_use_subcommand -xa "resolveport" -d "Resolves a port name from a process to an endpoint in launchd"
complete --command launchctl -n __fish_use_subcommand -xa "limit" -d "Reads or modifies launchd's resource limits"
complete --command launchctl -n __fish_use_subcommand -xa "runstats" -d "Prints performance statistics for a service"
complete --command launchctl -n __fish_use_subcommand -xa "examine" -d "Runs the specified analysis tool against launchd in a non-reentrant manner"
complete --command launchctl -n __fish_use_subcommand -xa "config" -d "Modifies persistent configuration parameters for launchd domains"
complete --command launchctl -n __fish_use_subcommand -xa "dumpstate" -d "Dumps launchd state to stdout"
complete --command launchctl -n __fish_use_subcommand -xa "dumpjpcategory" -d "Dumps the jetsam properties category for all services"
complete --command launchctl -n __fish_use_subcommand -xa "reboot" -d "Initiates a system reboot of the specified type"
complete --command launchctl -n __fish_use_subcommand -xa "bootshell" -d "Brings the system up from single-user mode with a console shell"
complete --command launchctl -n __fish_use_subcommand -xa "load" -d "Bootstraps a service or directory of services"
complete --command launchctl -n __fish_use_subcommand -xa "unload" -d "Unloads a service or directory of services"
complete --command launchctl -n __fish_use_subcommand -xa "remove" -d "Unloads the specified service name"
complete --command launchctl -n __fish_use_subcommand -xa "list" -d "Lists information about services"
complete --command launchctl -n __fish_use_subcommand -xa "start" -d "Starts the specified service"
complete --command launchctl -n __fish_use_subcommand -xa "stop" -d "Stops the specified service if it is running"
complete --command launchctl -n __fish_use_subcommand -xa "setenv" -d "Sets the specified environment variables for all services within the domain"
complete --command launchctl -n __fish_use_subcommand -xa "unsetenv" -d "Unsets the specified environment variables for all services within the domain"
complete --command launchctl -n __fish_use_subcommand -xa "getenv" -d "Gets the value of an environment variable from within launchd"
complete --command launchctl -n __fish_use_subcommand -xa "bsexec" -d "Execute a program in another process' bootstrap context"
complete --command launchctl -n __fish_use_subcommand -xa "asuser" -d "Execute a program in the bootstrap context of a given user"
complete --command launchctl -n __fish_use_subcommand -xa "submit" -d "Submit a basic job from the command line"
complete --command launchctl -n __fish_use_subcommand -xa "managerpid" -d "Prints the PID of the launchd controlling the session"
complete --command launchctl -n __fish_use_subcommand -xa "manageruid" -d "Prints the UID of the current launchd session"
complete --command launchctl -n __fish_use_subcommand -xa "managername" -d "Prints the name of the current launchd session"
complete --command launchctl -n __fish_use_subcommand -xa "error" -d "Prints a description of an error"
complete --command launchctl -n __fish_use_subcommand -xa "variant" -d "Prints the launchd variant"
complete --command launchctl -n __fish_use_subcommand -xa "version" -d "Prints the launchd version"
complete --command launchctl -n __fish_use_subcommand -xa "help" -d "Prints the usage for a given subcommand"
complete --command launchctl -n __fish_use_subcommand -xa bootstrap -d "Bootstraps a domain or a service into a domain"
complete --command launchctl -n __fish_use_subcommand -xa bootout -d "Tears down a domain or removes a service from a domain"
complete --command launchctl -n __fish_use_subcommand -xa enable -d "Enables an existing service"
complete --command launchctl -n __fish_use_subcommand -xa disable -d "Disables an existing service"
complete --command launchctl -n __fish_use_subcommand -xa uncache -d "Removes the specified service name from the service cache"
complete --command launchctl -n __fish_use_subcommand -xa kickstart -d "Forces an existing service to start"
complete --command launchctl -n __fish_use_subcommand -xa attach -d "Attach the system's debugger to a service"
complete --command launchctl -n __fish_use_subcommand -xa debug -d "Configures the next invocation of a service for debugging"
complete --command launchctl -n __fish_use_subcommand -xa kill -d "Sends a signal to the service instance"
complete --command launchctl -n __fish_use_subcommand -xa blame -d "Prints the reason a service is running"
complete --command launchctl -n __fish_use_subcommand -xa print -d "Prints a description of a domain or service"
complete --command launchctl -n __fish_use_subcommand -xa print-cache -d "Prints information about the service cache"
complete --command launchctl -n __fish_use_subcommand -xa print-disabled -d "Prints which services are disabled"
complete --command launchctl -n __fish_use_subcommand -xa plist -d "Prints a property list embedded in a binary (targets the Info.plist by default)"
complete --command launchctl -n __fish_use_subcommand -xa procinfo -d "Prints port information about a process"
complete --command launchctl -n __fish_use_subcommand -xa hostinfo -d "Prints port information about the host"
complete --command launchctl -n __fish_use_subcommand -xa resolveport -d "Resolves a port name from a process to an endpoint in launchd"
complete --command launchctl -n __fish_use_subcommand -xa limit -d "Reads or modifies launchd's resource limits"
complete --command launchctl -n __fish_use_subcommand -xa runstats -d "Prints performance statistics for a service"
complete --command launchctl -n __fish_use_subcommand -xa examine -d "Runs the specified analysis tool against launchd in a non-reentrant manner"
complete --command launchctl -n __fish_use_subcommand -xa config -d "Modifies persistent configuration parameters for launchd domains"
complete --command launchctl -n __fish_use_subcommand -xa dumpstate -d "Dumps launchd state to stdout"
complete --command launchctl -n __fish_use_subcommand -xa dumpjpcategory -d "Dumps the jetsam properties category for all services"
complete --command launchctl -n __fish_use_subcommand -xa reboot -d "Initiates a system reboot of the specified type"
complete --command launchctl -n __fish_use_subcommand -xa bootshell -d "Brings the system up from single-user mode with a console shell"
complete --command launchctl -n __fish_use_subcommand -xa load -d "Bootstraps a service or directory of services"
complete --command launchctl -n __fish_use_subcommand -xa unload -d "Unloads a service or directory of services"
complete --command launchctl -n __fish_use_subcommand -xa remove -d "Unloads the specified service name"
complete --command launchctl -n __fish_use_subcommand -xa list -d "Lists information about services"
complete --command launchctl -n __fish_use_subcommand -xa start -d "Starts the specified service"
complete --command launchctl -n __fish_use_subcommand -xa stop -d "Stops the specified service if it is running"
complete --command launchctl -n __fish_use_subcommand -xa setenv -d "Sets the specified environment variables for all services within the domain"
complete --command launchctl -n __fish_use_subcommand -xa unsetenv -d "Unsets the specified environment variables for all services within the domain"
complete --command launchctl -n __fish_use_subcommand -xa getenv -d "Gets the value of an environment variable from within launchd"
complete --command launchctl -n __fish_use_subcommand -xa bsexec -d "Execute a program in another process' bootstrap context"
complete --command launchctl -n __fish_use_subcommand -xa asuser -d "Execute a program in the bootstrap context of a given user"
complete --command launchctl -n __fish_use_subcommand -xa submit -d "Submit a basic job from the command line"
complete --command launchctl -n __fish_use_subcommand -xa managerpid -d "Prints the PID of the launchd controlling the session"
complete --command launchctl -n __fish_use_subcommand -xa manageruid -d "Prints the UID of the current launchd session"
complete --command launchctl -n __fish_use_subcommand -xa managername -d "Prints the name of the current launchd session"
complete --command launchctl -n __fish_use_subcommand -xa error -d "Prints a description of an error"
complete --command launchctl -n __fish_use_subcommand -xa variant -d "Prints the launchd variant"
complete --command launchctl -n __fish_use_subcommand -xa version -d "Prints the launchd version"
complete --command launchctl -n __fish_use_subcommand -xa help -d "Prints the usage for a given subcommand"

View File

@ -42,4 +42,3 @@ complete -c ldapsearch -s X -x -d 'Specify the requested authorization ID for SA
complete -c ldapsearch -s Y -x -d 'Specify the SASL mechanism to be used for authentication'
complete -c ldapsearch -s Z -d 'Issue StartTLS extended operation'
complete -c ldapsearch -o ZZ -d 'Issue StartTLS ectended operation only if succesful'

View File

@ -84,4 +84,3 @@ complete -c ps -s t -ltty$bsd_null -d "Select by tty" -r
complete -c ps -s G -lgroup$bsd_null -d "Select by group" -x -a "(__fish_complete_list , __fish_complete_groups)"
complete -c ps -s U -luser$bsd_null -d "Select by user" -x -a "(__fish_complete_list , __fish_complete_users)"
complete -c ps -s p -lpid$bsd_null -d "Select by PID" -x -a "(__fish_complete_list , __fish_complete_pids)"

View File

@ -6,4 +6,3 @@ function __fish_make_cache_dir --description "Create and return XDG_CACHE_HOME"
mkdir -m 700 -p $xdg_cache_home
and echo $xdg_cache_home
end

View File

@ -7,4 +7,3 @@ function __fish_print_pkg_packages
end
return 1
end

View File

@ -182,4 +182,3 @@ function fish_prompt
set_color normal
end
end