Re: [Fish-users] wrapper for midnight commander

2007-10-17 Thread Axel Liljencrantz
On 10/17/07, Fernando Canizo <[EMAIL PROTECTED]> wrote: > Axel Liljencrantz wrote: > >> This makes mc left you on the last directory you were navigating > >> inside mc when it exits, pretty useful. All the magic is done by the > >> '-P' switch. > >> ... > >> so in fish I do this in my config.fish (

Re: [Fish-users] wrapper for midnight commander

2007-10-17 Thread Axel Liljencrantz
On 10/13/07, Johan Sørensen <[EMAIL PROTECTED]> wrote: > Hi, > > > On Oct 13, 2007, at 4:58 AM, Axel Liljencrantz wrote: > > > Specifically, I belive the file in question > > does contain the file name, but does not end with a newline, and that > > the fish prompt 'swallows' the output. You can te

Re: [Fish-users] wrapper for midnight commander

2007-10-17 Thread Fernando Canizo
Axel Liljencrantz wrote: >> This makes mc left you on the last directory you were navigating >> inside mc when it exits, pretty useful. All the magic is done by the >> '-P' switch. >> ... >> so in fish I do this in my config.fish (which *is* being sourced): >> >> function mc >> set mctm

Re: [Fish-users] wrapper for midnight commander

2007-10-13 Thread Johan Sørensen
Hi, On Oct 13, 2007, at 4:58 AM, Axel Liljencrantz wrote: Specifically, I belive the file in question does contain the file name, but does not end with a newline, and that the fish prompt 'swallows' the output. You can test this theory by calling echo after cat-ing the file. The next fish relea

Re: [Fish-users] wrapper for midnight commander

2007-10-12 Thread Axel Liljencrantz
On 10/6/07, Fernando Canizo <[EMAIL PROTECTED]> wrote: > Hello, I'm trying to set up everything as I had in bash, the mc-wrapper > is one thing I cannot make work. > > This is the code for the bundled mc-wrapper, I'm calling it in bash with > an alias: alias mc='. /usr/share/bin/mc-wrapper.sh' > >