first commit
This commit is contained in:
6
fish/completions/servicectl.fish
Normal file
6
fish/completions/servicectl.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
# --- AUTOCOMPLETION ---
|
||||
complete -c servicectl -f
|
||||
set -l commands start stop restart status enable disable activate
|
||||
complete -c servicectl -n "not __fish_seen_subcommand_from $commands" -a "$commands"
|
||||
# Подсказываем имена сервисов из папки репозитория (SV_DIR)
|
||||
complete -c servicectl -n "__fish_seen_subcommand_from $commands" -a "(command ls -1 /etc/s6/sv/ 2>/dev/null)"
|
||||
Reference in New Issue
Block a user