Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| ## ZSH Options | |
| # http://zsh.sourceforge.net/Doc/Release/Options.html | |
| # Changing Directories | |
| # http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories | |
| setopt auto_cd # if a command isn't valid, but is a directory, cd to that dir | |
| setopt auto_pushd # make cd push the old directory onto the directory stack | |
| setopt pushd_ignore_dups # don’t push multiple copies of the same directory onto the directory stack | |
| setopt pushd_minus # exchanges the meanings of ‘+’ and ‘-’ when specifying a directory in the stack |
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset |