Re: Release emelFM2 0.5.1

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Tue, 31 Mar 2009 13:22:32 +1100

On Sun, 29 Mar 2009 13:28:09 +0200
Liviu Andronic <landronimirc@xxxxxxxxx> wrote:

> Hello Grégory, and thanks for the suggestions.
> 
> 2009/3/28 Grégory SCHMITT <gy.schmitt@xxxxxxxxx>:
> > In your case, what does a "mount" alias do such as this one ?
> >
> > "> mount \2 && cd \2'"
> >
> I defined this alias for `mount', and this is what I get in the output pane.
> sh>mount "/mnt/myflash" && cd "/mnt/myflash"  (27601)
> sh>mount "/mnt/myflash" && cd "/mnt/myflash" (27601) returned '0'
> 
> However, there was no action in the panes. The command was executed,
> but neither pane changed directory.
> Any ideas?

The "&&" in the command sends it to an external shell, and the 'cd' there does 
not feed back into an internal cd to change the active pane. You probably need 
something like
 mount "/mnt/myflash";cd "/mnt/myflash"
No error test, but the cd will report a problem if there's one

Regards
Tom


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: