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

Re: Absolute path of a path



On 2010-10-27 11:34:44 +0200, Jérémie Roquet wrote:
> 2010/10/27 Nikolai Weibull <now@xxxxxxxx>:
> > How do I get the absolute path of a path?  The only thing I can find
> > is the :a modifier for history expansion.
> 
> your_path(:a)
> 
> For example .(:a) is pwd

BTW, is there a way to get the canonicalised absolute pathname
with zsh? (i.e. what the "realpath" command gives.)

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



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