Skip to content

Instantly share code, notes, and snippets.

@aviaryan
Last active February 9, 2024 03:22
Show Gist options
  • Save aviaryan/5a57aa25b140f6c48f0e to your computer and use it in GitHub Desktop.
Save aviaryan/5a57aa25b140f6c48f0e to your computer and use it in GitHub Desktop.
Installing zsh and oh-my-zsh on Windows
  1. Install zsh from cygwin
  2. Install oh-my-zsh from https://github.com/robbyrussell/oh-my-zsh . Follow the manual instructions
  3. To make zsh default on ConEmu, create a task with C:\cygwin64\bin\mintty.exe /usr/bin/zsh - . Make it the defaut shell.
  4. To start a zsh shell on demand, add this batch script to your path or start menu or wherever.
start C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
@retsi101
Copy link

It's amazing, I tried running the command:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

But it deletes Mintty.

What should be done?

@NileshMS
Copy link

NileshMS commented Feb 5, 2023

Mintty throwing below message prompt. how can I stop this annoying prompt? its happening when I am closing git bash.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment