[Bash-completion-commits] ./current r1131: Commented line in _expand()
David Paleino
d.paleino at gmail.com
Mon Jun 23 09:14:11 UTC 2008
------------------------------------------------------------
revno: 1131
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Mon 2008-06-23 11:14:11 +0200
message:
Commented line in _expand()
modified:
bash_completion
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2008-06-23 09:13:08 +0000
+++ b/bash_completion 2008-06-23 09:14:11 +0000
@@ -342,12 +342,12 @@
#
_expand()
{
- [ "$cur" != "${cur%\\}" ] && cur="$cur\\"
+ # FIXME: Why was this here?
+ #[ "$cur" != "${cur%\\}" ] && cur="$cur\\"
# expand ~username type directory specifications
if [[ "$cur" == \~*/* ]]; then
eval cur=$cur
-
elif [[ "$cur" == \~* ]]; then
cur=${cur#\~}
COMPREPLY=( $( compgen -P '~' -u $cur ) )
More information about the Bash-completion-commits
mailing list