On 15 September 2010 21:06, Edward Z. Yang <[email protected]> wrote:
> Excerpts from David House's message of Wed Sep 15 04:45:31 -0400 2010:
>> I'd like M-S-RET to open a new terminal with the same working
>> directory as the old buffer. Has anyone written an extension to do
>> this, or is this possible in vanilla urxvt?
>
> I use the following shell script to do this:
>
> #!/bin/bash
> NUM=$1
> if [[ -z $1 ]]; then NUM="1"; fi
> for i in $(seq 1 $1)
> do
>    nohup rxvt-unicode 2>/dev/null > /dev/null &
> done
>

That seems to me like it will just open a number of terminals equal to
the script's first argument. That's not what I want -- I wanted to
open a single new terminal with the same working directory as the
existing one.

As a side point, why do you use nohup there? Just curious.

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to