F~u~c~k i~t!
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Top posting users this month
No user

GeoMap

Change Cygwin to use ZSH by default

Go down

Change Cygwin to use ZSH by default  Empty Change Cygwin to use ZSH by default

Post  halala Mon Dec 24, 2012 11:10 am

Since Cygwin is using mintty, the default shell is bash. I found a way to use zsh by default. All you have to do is edit the Cygwin Terminal shortcut and replace target field.

From:
C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -

To
C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico /bin/zsh --login

8 December 2011 · 0 Comments
halala
halala

帖子数 : 99
金币(Coin) : 4515
注册日期 : 2012-08-17

Back to top Go down

Change Cygwin to use ZSH by default  Empty It is not a good idea to do like this

Post  halala Mon Dec 24, 2012 11:21 am

Otherwise, you just change cygwin.bat to run zsh -l -i instead of bash --login -i and it will run as a login shell.
halala
halala

帖子数 : 99
金币(Coin) : 4515
注册日期 : 2012-08-17

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum