]> git.pld-linux.org Git - packages/bash-completion.git/blame - bash-completion-ifcfg.patch
- pass --nodigest and --nosignature params when refreshing rpm -qa cache
[packages/bash-completion.git] / bash-completion-ifcfg.patch
CommitLineData
188e307f
ER
1--- bash_completion 2005-05-31 20:21:36.000000000 +0300
2+++ /tmp/bash_completion 2005-05-31 20:21:09.000000000 +0300
3@@ -229,6 +229,11 @@
4 COMPREPLY=( $( command ls \
f9779cf6
ER
5 /etc/sysconfig/network/ifcfg-* | \
6 sed -ne 's|.*ifcfg-\('$cur'.*\)|\1|p' ) )
188e307f
ER
7+ elif [ -f /etc/pld-release ]; then
8+ # PLD Linux
9+ COMPREPLY=( $( command ls -B \
10+ /etc/sysconfig/interfaces | \
11+ sed -ne 's|.*ifcfg-\('$cur'.*\)|\1|p' ) )
f9779cf6 12 else
188e307f 13 # Assume Red Hat
f9779cf6 14 COMPREPLY=( $( command ls \
This page took 0.02747 seconds and 4 git commands to generate.