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

Re: Absolute path of a path



2010/10/27 Vincent Lefevre <vincent@xxxxxxxxxx>:
> 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.)

your_path(:A) I guess :)

Best regards,

-- 
JÃrÃmie



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