Last active
April 23, 2020 10:25
-
-
Save acouch/b8c7190841b29cd39ae01073c082e390 to your computer and use it in GitHub Desktop.
This file contains 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
# Shared and expanded history. | |
HISTCONTROL=ignoreboth | |
shopt -s histappend | |
HISTSIZE=100000 | |
HISTFILESIZE=100000 | |
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" | |
bind '"\e[A":history-search-backward' | |
bind '"\e[B":history-search-forward' | |
#{{{1 Bash Colors and Prompt | |
LS_COLORS=$LS_COLORS:'di=00;33:ln=00;31:fi=00;32' | |
export LS_COLORS | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
BLUE="\[\033[0;36m\]" | |
WHITE="\[\033[0;37m\]" | |
# Makes prompt wrap to next line. | |
COLUMNS=250 | |
PS1="$GREEN\u$YELLOW\[\w]\n($BLUE\W$YELLOW)$GREEN\$(__git_ps1 '(%s)')$RED\$$WHITE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment