main: Remove quotes before tilde expansion

This commit is contained in:
Matthew Martin 2018-02-11 13:03:56 -06:00
commit d08d5ef7c5
2 changed files with 9 additions and 4 deletions

View file

@ -31,9 +31,11 @@ mkdir mydir
touch mydir/path-tilde-named.test
hash -d D=mydir
BUFFER='ls ~D/path-tilde-named.test'
BUFFER='ls ~D/path-tilde-named.test ~"D"'
expected_region_highlight=(
"1 2 command" # ls
"4 27 path" # ~D/path-tilde-named.test
"4 27 path" # ~D/path-tilde-named.test
"29 32 path" # ~"D"
"30 32 double-quoted-argument" # "D"
)