* Daniel Vrcic <[EMAIL PROTECTED]> [07-04-28 12:12]:
> * anhnmncb <[EMAIL PROTECTED]> [07-04-28 11:39]:
> > hi, list:
> > I want to bound a key-binding to open a chdired rxvt. Say I'm in fvwm
> > and  the working dir is ~/, then I want to open a rxvt, which working
> > dir is ~/doc, so I try:
> >     rxvt -hold -e bash -c "cd ~/doc"
> 
> That should be:
> 
> (cd ~doc/ && urxvt)
> 
> [...]

Sorry, correction... I'm also using fvwm and I have some entries in
fvwm2rc regarding your issue. The command from the previous mail works
if it's being executed from the shell/term_emul (discard the doc's slash
:) but it would not if it's just pasted into fvwm2rc. There you should
have something like:

  DestroyFunc FvwmTermDoc
  AddToFunc   FvwmTermDoc
  + I Exec exec $(cd ~/doc && rxvt) 

# Keybind
        Key C A MC FvwmTermDoc

-- 
Daniel Vrcic
-- 
[EMAIL PROTECTED] mailing list

Reply via email to