zsh configuration code example
Example 1: oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Example 2: oh my zsh git
curl -Lo install.sh https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
sh install.sh
Example 3: how to customize zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Example 4: how to set cursor on zsh terminal for windows 10
function acp() {
git add .
git commit -m "$1"
git push
}