Skip to content

Instantly share code, notes, and snippets.

@iwilliams
Created January 2, 2016 17:23
Show Gist options
  • Select an option

  • Save iwilliams/08a5e3129b7a0537dd3e to your computer and use it in GitHub Desktop.

Select an option

Save iwilliams/08a5e3129b7a0537dd3e to your computer and use it in GitHub Desktop.
alias ls="ls -GFA"
# Taken from Arch linux wiki at https://wiki.archlinux.org/index.php/Color_Bash_Prompt
PS1="\[\e[1;32m\][\u]\[\e[1;32m\]:\[\e[0;31m\]\W\[\e[1;32m\] \$\[\e[0;33m\] "
# This resets the ehcho text to whit after the input is set to yellow above
trap 'echo -ne "\033[0m"' DEBUG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment