mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +00:00
add rcctl completions for OpenBSD
This commit is contained in:
parent
e135024cc4
commit
eec47a173d
1 changed files with 3 additions and 0 deletions
3
share/completions/rcctl.fish
Normal file
3
share/completions/rcctl.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
complete -c rcctl -xa 'check ls reload restart stop start disable enable' -n 'not __fish_seen_subcommand_from list check ls reload restart stop start enable disable'
|
||||
complete -c rcctl -n '__fish_seen_subcommand_from check reload restart stop start enable disable' -xa '(set -l files /etc/rc.d/*; string replace "/etc/rc.d/" "" -- $files)'
|
Loading…
Reference in a new issue