aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/apt-show-source.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-11-30 00:00:04 +1000
committerGravatar axel <axel@liljencrantz.se>2006-11-30 00:00:04 +1000
commitf64364ccedb86d2fe182ac321585dbdda15c2175 (patch)
tree164a9ababc1d1f7455a841858aef524836308c51 /share/completions/apt-show-source.fish
parent32502bfac804551d09249675e382d297676a880c (diff)
Replace all internal uses of grep with sgrep, which is a wrapper around grep that strips away any GREP_OPTIONS. This is needed to avoid users who have added arbitrary switches to GREP_OPTIONS, thus changing its behaviour.
darcs-hash:20061129140004-ac50b-485ff6bfd71e9459ba62461f6e093ca5c9ddd664.gz
Diffstat (limited to 'share/completions/apt-show-source.fish')
-rw-r--r--share/completions/apt-show-source.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/apt-show-source.fish b/share/completions/apt-show-source.fish
index 9a3fffdf..0ab5c32f 100644
--- a/share/completions/apt-show-source.fish
+++ b/share/completions/apt-show-source.fish
@@ -2,8 +2,8 @@
complete -c apt-show-source -s h -l help -d (N_ 'Display help and exit')
complete -r -c apt-show-source -l status-file -d (N_ 'Read package from file') -f
complete -r -c apt-show-source -o stf -d (N_ 'Read package from file') -f
-complete -r -c apt-show-source -l list-dir -a '(ls -Fp .|grep /\$) /var/lib/apt/lists' -d (N_ 'Specify APT list dir')
-complete -r -c apt-show-source -o ld -a '(ls -Fp .|grep /\$) /var/lib/apt/lists' -d (N_ 'Specify APT list dir')
+complete -r -c apt-show-source -l list-dir -a '(ls -Fp .|sgrep /\$) /var/lib/apt/lists' -d (N_ 'Specify APT list dir')
+complete -r -c apt-show-source -o ld -a '(ls -Fp .|sgrep /\$) /var/lib/apt/lists' -d (N_ 'Specify APT list dir')
complete -r -c apt-show-source -s p -l package -a '(apt-cache pkgnames)' -d (N_ 'List PKG info')
complete -f -c apt-show-source -l version-only -d (N_ 'Display version and exit')
complete -f -c apt-show-source -s a -l all -d (N_ 'Print all source packages with version')