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