Commented line in _expand()

This commit is contained in:
David Paleino 2008-06-23 11:14:11 +02:00
parent f98bd24da4
commit 448df27e05

View File

@ -342,12 +342,12 @@ _available_interfaces()
# #
_expand() _expand()
{ {
[ "$cur" != "${cur%\\}" ] && cur="$cur\\" # FIXME: Why was this here?
#[ "$cur" != "${cur%\\}" ] && cur="$cur\\"
# expand ~username type directory specifications # expand ~username type directory specifications
if [[ "$cur" == \~*/* ]]; then if [[ "$cur" == \~*/* ]]; then
eval cur=$cur eval cur=$cur
elif [[ "$cur" == \~* ]]; then elif [[ "$cur" == \~* ]]; then
cur=${cur#\~} cur=${cur#\~}
COMPREPLY=( $( compgen -P '~' -u $cur ) ) COMPREPLY=( $( compgen -P '~' -u $cur ) )