summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash-completion2
-rw-r--r--contrib/zsh-completion2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion
index 4ffcabd..5a2dd12 100644
--- a/contrib/bash-completion
+++ b/contrib/bash-completion
@@ -13,7 +13,7 @@ _wireless_interfaces()
_netctl_profiles()
{
- find -L /etc/network.d -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n"
+ find -L /etc/netctl -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n"
}
diff --git a/contrib/zsh-completion b/contrib/zsh-completion
index 77bf1f9..7695082 100644
--- a/contrib/zsh-completion
+++ b/contrib/zsh-completion
@@ -12,7 +12,7 @@ _wireless_interfaces() {
(( $+function[_netctl_command] )) ||
_netctl_command() {
[[ $words[1] = (start|stop|restart|switch-to|status|enable|disable|reenable) ]] &&
- compadd "${(f)$(find -L /etc/network.d -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n")}"
+ compadd "${(f)$(find -L /etc/netctl -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n")}"
}