Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: create a symlink generically..
- X-seq: zsh-users 14013
- From: Matt Wozniski <godlygeek@xxxxxxxxx>
- To: Bryan Buecking <bryan@xxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: create a symlink generically..
- Date: Thu, 9 Apr 2009 00:16:12 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+YhOR2bUqWToBU3TVeQOtbjH43Mjd//DfzR2ktGIQiI=; b=Ocs8bUbQUtQ/4QYL37HttmesJrykhxsVxAfbkrPNdGLEf8ij1CXfwNYa/ZPg2FiNtP 1P3iqiWQnGSi86v+TRZeWg3/A9JxZroM1qSlxaMrUu4ZkrPmlPk5vjexEcoCkmyQNooE qLaSme+Hq4vSvI9kUbI5fK3NR5ueTSp7D1BpU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CmkY/BgmBvualM1rsMAXqmTo4kGe9Db9NCoNYhqIURYPHVSFlCe6rlwzwL46YcxzPb hLXqlG/PLCgS8IrofFL8f5PfM/PjsPR2eVWe312g8SDJdFA4Lpt+WgnWgazZxrkMdqQG w7n4Hfz9VHCl1fzz0SvbqbwRYoAcJfwD5g6/w=
- In-reply-to: <20090409023626.GF2289@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <fb3648c60904081711l5288a683nca00d0254a66734a@xxxxxxxxxxxxxx> <fb3648c60904081753x4051252nef1ebee1b4f1e720@xxxxxxxxxxxxxx> <17393e3e0904081926o2ffb54ecn6df96f30730d2a61@xxxxxxxxxxxxxx> <20090409023626.GF2289@xxxxxxxxxxxxxxxxx>
On Wed, Apr 8, 2009 at 10:36 PM, Bryan Buecking wrote:
> On Wed, Apr 08, 2009 at 10:26:14PM -0400, Matt Wozniski wrote:
>> On Wed, Apr 8, 2009 at 8:53 PM, fREW Schmidt wrote:
>> > I figured out one way to do it, but there may be a better way:
>> >
>> > ln -s "$(pwd)/foo" ~/.foo
>>
>> Well, $PWD should probably be used instead of $(pwd) wherever possible.
>
> Or /bin/pwd if you want the real path.
If I understand what you mean, you should be using "pwd -r" there...
No reason to fork for that.
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author