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

Re: create a symlink generically..



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.

-- 
Bryan Buecking				http://www.starling-software.com



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