summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-06-22 16:01:51 +0100
committerKristian Høgsberg <krh@redhat.com>2008-06-23 10:24:30 -0400
commit638a535d1a1d268559c27f7d9f4edf36eecfb53a (patch)
treea244df3d354e193e73a8e7deb2612368291e1fb4 /data
parente7a9df418a6b680878e8e3c0b0129d0b07326ff0 (diff)
Don't assume razor is being run locally in bash-completion.
Breaks when installed system wide.
Diffstat (limited to 'data')
-rw-r--r--data/bash-completion.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/bash-completion.sh b/data/bash-completion.sh
index a9c4221..402ef0d 100644
--- a/data/bash-completion.sh
+++ b/data/bash-completion.sh
@@ -6,25 +6,25 @@ __razor_commands () {
__razor_packages () {
local IFS=$'\n'
- COMPREPLY=($(./razor list --only-names "$1*" | while read p; do echo "$p "; done))
+ COMPREPLY=($(razor list --only-names "$1*" | while read p; do echo "$p "; done))
}
__razor_upstream_packages () {
local IFS=$'\n'
- COMPREPLY=($(RAZOR_REPO=rawhide.repo ./razor list --only-names "$1*" | while read p; do echo "$p "; done))
+ COMPREPLY=($(RAZOR_REPO=rawhide.repo razor list --only-names "$1*" | while read p; do echo "$p "; done))
}
__razor_files() {
- COMPREPLY=($(./razor list-files "$1*"))
+ COMPREPLY=($(razor list-files "$1*"))
}
__razor_requires() {
- COMPREPLY=($(compgen -W "$(./razor list-requires)" -- $1))
+ COMPREPLY=($(compgen -W "$(razor list-requires)" -- $1))
}
__razor_provides() {
- COMPREPLY=($(compgen -W "$(./razor list-provides)" -- $1))
+ COMPREPLY=($(compgen -W "$(razor list-provides)" -- $1))
}
__razor() {