mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 03:12:47 +08:00
Stringify netctl completions
This commit is contained in:
parent
1cafc4eff6
commit
2323a5629c
|
@ -1,7 +1,7 @@
|
|||
set -l cmds list store restore stop-all start stop restart switch-to status enable disable reenable is-enabled edit
|
||||
|
||||
function __fish_netctl_get_profiles
|
||||
command netctl list | sed -e 's/^[ \t*]*//'
|
||||
command netctl list | string trim -l -c ' *'\t
|
||||
end
|
||||
|
||||
complete -f -c netctl -l help -d 'Display help'
|
||||
|
|
Loading…
Reference in New Issue
Block a user