2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-24 02:35:55 +00:00
fish-shell/share/completions/rcctl.fish
2024-02-27 16:25:01 +01:00

2 lines
339 B
Fish

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)'