Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Handling of .. in command line parameters
- X-seq: zsh-users 12955
- From: Michal Sojka <sojkam1@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Handling of .. in command line parameters
- Date: Tue, 17 Jun 2008 10:12:39 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello,
I have a small problem with zsh. Is there a possibility for .. in command line
to count with symbolic links?
More specifically, I have symblic link ~/link that points to another
directory, let's say ~/somedir/target. If I do
cd ~/link
vi ../file.txt
It tries to open ~/somedir/file.txt instead of ~/file.txt, what I want.
Maybe this is not only "problem" of zsh, but also of all other programs (vi in
this example). Do you know about any solution to this?
When doing the same with bash, vi tries to open the same (wrong) file, but at
least completion for ../* files works as I want.
Please, CC me when answering, since I'm not on the list.
Thanks
Michal Sojka
Messages sorted by:
Reverse Date,
Date,
Thread,
Author