Using $PWD is fine. For the record, what you're looking for is called command 
substitution:

    rxvt -cd (echo $pwd)

Hope that helps,
_fish

On Sep 20, 2013, at 11:28 AM, Wai Yan Pong <wypon...@gmail.com> wrote:

> Oh simply rxvt -cd $PWD does the trick, sorry.
> 
> 
> On Fri, Sep 20, 2013 at 10:05 AM, Wai Yan Pong <wypon...@gmail.com> wrote:
> I would like to pipe stdout as an argument in fish, e.g.
> 
> rxvt -cd < echo $pwd
> 
> (which is wrong). So what's the right (fish) way to do so?
> Thanks
> 
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk_______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to