Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

~ substitution



Hello.

Is it possible, to control ~ substitution?
When I type 'echo ~' I get '/home/sergio' --- all right.
When I type 'echo a~b' I get 'a~b' --- all right.
Also sh and bash do the same.

But when I type 'echo h=~' (or h=~sergio, or h=~/some/path) I get 'h=~'.
sh does the same, and bash will out 'h=/home/sergio'.

How to control this? Why this may be bad? May be this is a bug?

--
sergio.



Messages sorted by: Reverse Date, Date, Thread, Author