Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
~ substitution
- X-seq: zsh-users 15697
- From: sergio <mailbox@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: ~ substitution
- Date: Sat, 08 Jan 2011 12:42:06 +0300
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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