Created
May 10, 2020 06:50
-
-
Save ajermakovics/467f0c3106e6d1dc878aa00467cfdfff to your computer and use it in GitHub Desktop.
.bashrc
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
PS1="\W\$ " # working dir | |
if [[ $EUID -eq 0 ]]; then # root user | |
PS1="\W\e[1;31m\]\$ \e[0m" # show '$' in red | |
fi | |
export PS1 | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export HISTCONTROL=ignoreboth:erasedups | |
export HISTSIZE=10000 | |
shopt -s histappend | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment