On 1 August 2010 15:16, JOHNER Jean 066030 wrote:
> On 31 July 2010 15:00, Andy Koppe wrote:
>
>> The window title is changed to the working directory as part of the
>> shell prompt, i.e. the PS1 variable, which is set in /etc/profile.
>> It's the initial part of it that does it:
>
>> \[\e]0;\w\a\]
On 31 July 2010 15:00, Andy Koppe wrote:
> The window title is changed to the working directory as part of the
> shell prompt, i.e. the PS1 variable, which is set in /etc/profile.
> It's the initial part of it that does it:
> \[\e]0;\w\a\]
> So you could change PS1 to something more to your liki
On 31 July 2010 14:45, JOHNER Jean 066030 wrote:
> The last problem is that the window title, for the "My documents/foobar"
> directory becomes:
> /cygdrive/d/Documents and settings/User_name/My documents/foobar
> which iconifies to "/cygdrive/d/Docu...", the latter indication being
> the same for
On 29 July 2010 08:49, Andy Koppe wrote:
>> I also tried to add
>>
>> C:\cygwin\home\User_name\foobar
>>
>> in the "Start in" box of the windows shortcut. With no effect.
> That was the right idea. The reason it didn't work is that
> /etc/profile changes back to your home directory, unless the va
On 29 July 2010 08:49, JOHNER Jean 066030 wrote:
> Putting the following command line in a Windows shortcut opens a login
> bash in the /home/User_name directory (~):
>
> C:\cygwin\bin\mintty.exe -e bash --login
>
> Now I would like to do the same in the /home/User_name/foobar directory.
I assume
ch reads a specified
.rc file?
Best regards
Jean Johner
-Message d'origine-
De : JOHNER Jean 066030
Envoyé : jeudi 29 juillet 2010 09:50
À : 'cygwin@cygwin.com'
Objet : Window shortcut to launch a Mintty login bash on a given directory
Hello,
Putting the following command l
Hello,
Putting the following command line in a Windows shortcut opens a login
bash in the /home/User_name directory (~):
C:\cygwin\bin\mintty.exe -e bash --login
Now I would like to do the same in the /home/User_name/foobar directory.
I tried:
C:\cygwin\bin\mintty.exe -e bash --login -c "cd foo
7 matches
Mail list logo