]>
Commit | Line | Data |
---|---|---|
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 \ | |
5 | /etc/sysconfig/network/ifcfg-* | \ | |
6 | sed -ne 's|.*ifcfg-\('$cur'.*\)|\1|p' ) ) | |
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' ) ) | |
12 | else | |
13 | # Assume Red Hat | |
14 | COMPREPLY=( $( command ls \ |