mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:01:11 -03:00
Stringify netctl completions
This commit is contained in:
committed by
Fabian Homborg
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'
|
||||
|
||||
Reference in New Issue
Block a user