The following commit has been merged in the master branch:
commit 5fcaad875665e9378e661ee398358908a4ef99f8
Author: Ville Skyttä <[email protected]>
Date: Mon Dec 26 21:47:51 2011 +0200
cleanups: Drop some no longer needed stderr redirections.
diff --git a/bash_completion b/bash_completion
index ee966ea..da0267b 100644
--- a/bash_completion
+++ b/bash_completion
@@ -590,7 +590,7 @@ _filedir()
-n "$1" && "$1" != -d && ${#toks[@]} -lt 1 ]] && \
toks+=( $( compgen -f -- $quoted ) )
- [[ ${#toks[@]} -ne 0 ]] && compopt -o filenames 2>/dev/null
+ [[ ${#toks[@]} -ne 0 ]] && compopt -o filenames
COMPREPLY+=( "${toks[@]}" )
} # _filedir()
@@ -923,7 +923,7 @@ _tilde()
# Try generate ~username completions
COMPREPLY=( $( compgen -P '~' -u "${1#\~}" ) )
result=${#COMPREPLY[@]}
- [[ $result -gt 0 ]] && compopt -o filenames 2>/dev/null
+ [[ $result -gt 0 ]] && compopt -o filenames
fi
return $result
}
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits