GitBash
ZSH on GitBash
Section titled “ZSH on GitBash”https://renan-costaalencar.medium.com/zsh-and-oh-my-zsh-on-windows-via-git-bash-a2f21b85b51c
Install Zsh
Section titled “Install Zsh”# Download Zsh package from https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
# Decompress the .zst file$ zstd --decompress ~/Downloads/zsh-5.8-5-x86_64.pkg.tar.zst
# Untar$ tar zvf ~/Downloads/zsh-5.8-5-x86_64.pkg.tar
# Copy files to C:\Program Files\Git
# Test zsh$ zsh --versionzsh 5.9 (x86_64-pc-msys)
Set zsh as default shell
Section titled “Set zsh as default shell”vi .bashrc
if [ -t 1 ]; then exec zshfi
VSCode profile
Section titled “VSCode profile”Get ison from https://github.com/Zsh-art/logo/blob/main/app-icons/zsh_icon_256x256-multi-size.ico
{ "commandline": "\"C:\\Program Files\\Git\\bin\\bash.exe\" --cd-to-home", "guid": "{c376c6d5-1dfe-566e-812b-4571e5d57ae8}", "hidden": false, "icon": "C:\\Program Files\\Git\\usr\\share\\zsh\\zsh_icon_256x256-multi-size.ico", "name": "Git Zsh"}
Oh-my-zsh
Section titled “Oh-my-zsh”# Disable ssl verifygit config --global http.sslVerify false# Install oh-my-zshsh -c "$(curl -fsSLk https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# revert ssl verifygit config --global --unset http.sslVerify