summaryrefslogtreecommitdiffstats
path: root/contrib/zsh-completion
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-02-05 18:07:55 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-02-05 18:07:55 +0100
commit7f1eee3a934efa674daf31ccad206a85cb3ded07 (patch)
treedaf4d038410cf4b56ea6cb6f993c9ce112323252 /contrib/zsh-completion
parent763f34bf0cc263ba877b1933944f700fc29f3139 (diff)
downloadnetctl-7f1eee3a934efa674daf31ccad206a85cb3ded07.tar.gz
netctl-7f1eee3a934efa674daf31ccad206a85cb3ded07.tar.xz
Move the location for profiles
Old location: /etc/network.d New location: /etc/netctl This should ease migration from netcfg and is a better path anyway.
Diffstat (limited to 'contrib/zsh-completion')
-rw-r--r--contrib/zsh-completion2
1 files changed, 1 insertions, 1 deletions
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")}"
}