summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash-completion4
-rw-r--r--contrib/zsh-completion4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion
index 44dd181..02c8147 100644
--- a/contrib/bash-completion
+++ b/contrib/bash-completion
@@ -2,12 +2,12 @@
_connected_prfls ()
{
- COMPREPLY=( $( compgen -W "$( ls /var/run/network/profiles/ )" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$( ls /run/network/profiles/ )" -- $cur ) )
}
_connected_intfs ()
{
- COMPREPLY=( $( compgen -W "$( ls /var/run/network/interfaces/)" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$( ls /run/network/interfaces/)" -- $cur ) )
}
_netcfg ()
diff --git a/contrib/zsh-completion b/contrib/zsh-completion
index 078ccc8..9f3e7dd 100644
--- a/contrib/zsh-completion
+++ b/contrib/zsh-completion
@@ -22,11 +22,11 @@ all_profiles() {
}
up_profiles() {
- _files -W "/var/run/network/profiles"
+ _files -W "/run/network/profiles"
}
up_ifaces() {
- _files -W "/var/run/network/interfaces"
+ _files -W "/run/network/interfaces"
}
_arguments -C \