FYI, in Terminal on a mac pressing cmd + t opens a new tab with the same directory (in fish at least).

On 20/09/2013 20:08, Wai Yan Pong wrote:
Thanks for the clarification.

My ultimate goal is to customize config.h for dwm so that Alt-shift-return will spawn a new terminal in the current directory. So far I have not succeed. Well, certainly this is not a fish question but one about dwm ... however I'm pretty sure there are fish users who is also using dwm can help me out on this.


On Fri, Sep 20, 2013 at 11:50 AM, ridiculous_fish <corydo...@ridiculousfish.com <mailto:corydo...@ridiculousfish.com>> wrote:

    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
    <mailto: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 <mailto: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
    <mailto: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

------------------------------------------------------------------------------
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