Skip to content

Instantly share code, notes, and snippets.

@zeroseis
Last active January 4, 2020 08:57
Show Gist options
  • Save zeroseis/d75bb257f2f0b2dd1797 to your computer and use it in GitHub Desktop.
Save zeroseis/d75bb257f2f0b2dd1797 to your computer and use it in GitHub Desktop.
My Bash terminal preferences
# Custom prompt
# Bash colors and formating http://goo.gl/XwihhQ
LIGHT_BLUE="\[\e[34m\]"
RED="\[\e[31m\]"
GREEN="\[\e[32m\]"
YELLOW="\[\e[33m\]"
DARK_GRAY="\[\e[90m\]"
RESET="\[\e[00m\]"
export PS1="${DARK_GRAY}\n\u@\h ${GREEN}\w\n${YELLOW}$ ${RESET}"
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# Alias to always list files in color, detailed, vertical order
# and using human units instead of bytes
alias ls="ls -lFh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment