Commented line in _expand()
This commit is contained in:
parent
f98bd24da4
commit
448df27e05
@ -342,12 +342,12 @@ _available_interfaces()
|
||||
#
|
||||
_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 ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user