Created
February 6, 2025 12:13
-
-
Save user9931/061a8eabb30bcde896c93f528aa9b390 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
# for bash | |
case "$TERM" in | |
xterm-color|*-256color) color_prompt=yes;; | |
esac | |
## COLOR | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
alias ls='ls --color=auto -l' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias dir='dir --color=auto' | |
fi | |
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' | |
alias ip='ip -c' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment