Skip to content

Instantly share code, notes, and snippets.

@timothystewart6
Last active July 6, 2018 17:31
Show Gist options
  • Save timothystewart6/a9ca8b89b6aca3f9cfa3407357388f37 to your computer and use it in GitHub Desktop.
Save timothystewart6/a9ca8b89b6aca3f9cfa3407357388f37 to your computer and use it in GitHub Desktop.
Install oh my zsh on bash on Ubuntu (Linux Subsystem)

oh-my-zsh for Windows 10

Install the Linux subsystem

Install Ubuntu on Windows 10

Launch

bash

Install dependencies

sudo apt-get install zsh

Install oh-my-zsh

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

Change default shell

chsh -s /bin/zsh

Exit bash

exit

Start bash

bash

Issues

Themese seemed to not work properly when using cmd and powershell. Try ConEmu instead

@jiagengliu
Copy link

The easiest way to make zsh the default shell is simply attaching bash -c zsh at the end of your ~/.bashrc file.

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