Created
January 19, 2015 10:23
-
-
Save viktorbenei/c3e58d87251e3e645cb9 to your computer and use it in GitHub Desktop.
OS X Terminal (coloring) improvements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add these to ~/.bash_profile or another profile which is loaded | |
# from ~/.bash_profile (on OS X) | |
# source: http://osxdaily.com/2013/02/05/improve-terminal-appearance-mac-os-x/ | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
# better default 'ls' | |
alias ls='ls -GFh' | |
# 'ls' man Note: | |
# -G: Enable colorized output. This option is equivalent to defining CLICOLOR in the environment. (See below.) | |
# -F: Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that | |
# is executable, an at sign (`@') after each symbolic link, an equals sign (`=') after each socket, a percent | |
# sign (`%') after each whiteout, and a vertical bar (`|') after each that is a FIFO. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment