summaryrefslogtreecommitdiffstats
path: root/urpmi.bash-completion
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-07-09 19:33:42 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-07-09 19:33:42 +0000
commit3d3276c9f032c21ed884550e01d2b23788397fc4 (patch)
tree619b6245470ea74545b5d326821569aecf5ad417 /urpmi.bash-completion
parent6fff6cb237526e2c9e126703ce1d42ff9a8b2f00 (diff)
downloadurpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar.gz
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar.bz2
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.tar.xz
urpmi-3d3276c9f032c21ed884550e01d2b23788397fc4.zip
urpmi: allow bash-completion to complete to .spec files as well
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r--urpmi.bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 752606e7..5353dfd9 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -119,7 +119,7 @@ _urpmi()
if [[ "$cur" != */* ]]; then
_urpmi_packages
fi
- _filedir rpm
+ _filedir @(rpm|spec)
fi
fi
}