14 lines
370 B
Diff
14 lines
370 B
Diff
|
--- bash_completion~ 2007-09-22 10:35:56.000000000 +0300
|
||
|
+++ bash_completion 2007-09-22 10:37:56.000000000 +0300
|
||
|
@@ -5196,8 +5196,8 @@
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
- # handle case where first parameter is not a dash option
|
||
|
- if [ $COMP_CWORD -eq 1 ] && [[ "$cur" != -* ]]; then
|
||
|
+ # handle non-dash options
|
||
|
+ if [[ "$cur" != -* ]]; then
|
||
|
_filedir
|
||
|
return 0
|
||
|
fi
|