sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
Make sure you have the latest version of XCode installed. Available from the AppStore.
Install the Xcode Command Line Tools:
xcode-select --install
Homebrew is the missing package manager for OSX. Download and install using the following command:
| #!/usr/bin/env bash | |
| # | |
| # Nginx - new server block | |
| # http://rosehosting.com | |
| read -p "Enter username : " username | |
| read -p "Enter domain name : " domain | |
| # Functions | |
| ok() { echo -e '\e[32m'$domain'\e[m'; } # Green | |
| die() { echo -e '\e[1;31m'$domain'\e[m'; exit 1; } |
| git reset --hard | |
| git clean -f -d | |
| Description: | |
| ============ | |
| Git Tips: Remove untracked files and directories from the working | |
| tree when switching branches or checking out different commits. | |
| Explanation: |