On Sat, May 03, 2008 at 01:26:24PM +0100, Nick Warne wrote:

> I have:
> 
> Mrxvt*workingDirectory:       ~
> 
> in my .mrxvt
> 
> All appears to work great, but I just found out that if I startx from
> another directory (i.e. building mesa [or whatever] )
> 
> cd /home/path_to/mesa
> ...
> 
> startx
> 
> Then any instance of mrxvt will start open with THAT directory and not
> my home directory.  It seems to link ~ with the directory startx was
> initiated from.
> 
> I got around this by changing thus:
> 
> Mrxvt*workingDirectory:       /home/nick
> 
> Is this a bug, or by design?

I just looked at the code. There's a comment (by me) saying

    /* XXX Maybe better to use wordexp and expand ~ & $HOME here */

Marc's patch used wordexp, so I'll just copy parts of his code over
here. Should be fixed in the latest revision from subversion.

GI

-- 
'Teamwork' -- The possibilty of putting the blame on others.

Attachment: pgpeNzzs82RsX.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Materm-devel mailing list
Materm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

Reply via email to