fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
c8989e184
master
1function __run0_slice 2systemctl -t slice --no-legend --no-pager --plain| string split -nf1 ' ' 3systemctl -t slice --user --no-legend --no-pager --plain| string split -nf1 ' ' 4end 5 6complete -c run0 -xa"(__fish_complete_subcommand)" 7complete -c run0 -s h -l help -d"Show help" 8complete -c run0 -s V -l version -d"Show version" 9complete -c run0 -s u -l user -d"Switches to the specified user instead of root" -xa"(__fish_complete_users)" 10complete -c run0 -s g -l group -d"Switches to the specified group instead of root" -xa"(__fish_complete_groups)" 11complete -c run0 -l no-ask-password -d"Do not query the user for authentication for privileged operations" 12complete -c run0 -l machine -d"Execute operation on a local container" -xa"(machinectl list --no-legend --no-pager | string split -f 1 ' ')" 13complete -c run0 -l unit -d"Run under the specified unit name" -x 14complete -c run0 -l property -d"Sets a property on the service unit that is created" -x 15complete -c run0 -l description -d"Description for unit" -x 16complete -c run0 -l slice -d"Make the new .service unit part of the specified slice, instead of user.slice." -xa"(__run0_slice)" 17complete -c run0 -l slice-inherit -d"Make the new .service unit part of the slice the run0 itself has been invoked in" 18complete -c run0 -l nice -d"Runs the invoked session with the specified nice level" -xa"(seq -20 19)" 19complete -c run0 -s D -l chdir -d"Set working directory" -xa"(__fish_complete_directories)" 20complete -c run0 -l via-shell -d"Invoke command via target user's login shell" 21complete -c run0 -s i -d"Shortcut for --via-shell --chdir='~'" 22complete -c run0 -l setenv -d"Runs the invoked session with the specified environment variable set" -x 23complete -c run0 -l background -d"Change the terminal background color to the specified ANSI color" -x 24complete -c run0 -l pty -d"Request allocation of a pseudo TTY for stdio" 25complete -c run0 -l pty-late -d"Just like --pty, but leave TTY access to agents until unit is started up" 26complete -c run0 -l pipe -d"Request redirect pipe for stdio" 27complete -c run0 -l shell-prompt-prefix -d"Set a shell prompt prefix string" -x 28complete -c run0 -l lightweight -d"Control whether to register a session with service manager or without" -xa"true false" 29complete -c run0 -l area -d"Home area to log into" -x 30complete -c run0 -l empower -d"Give privileges to selected or current user"