Added more color into my life

This commit is contained in:
agryphus 2023-12-06 19:57:47 -05:00
parent f978cba560
commit f46138ea15
2 changed files with 40 additions and 10 deletions

View file

@ -68,13 +68,21 @@ alias em="emacsclient -nw -a 'emacs -nw'"
# Print out all colors
alias colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$"\n"}; done'
# Colors
alias ls='LC_COLLATE=C ls --color=auto --group-directories-first -hN -A'
# Colorful output
alias ls='LC_COLLATE=C grc ls --color=auto --group-directories-first -hN -A'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias diff='diff --color=auto'
alias ip='ip --color=auto'
alias gcc='grc gcc'
alias ifconfig='grc ifconfig'
alias make='grc make'
alias netstat='grc netstat'
alias nmap='grc nmap'
alias ping='grc ping'
alias ping='grc ping'
alias uptime='grc uptime'
## FUNCTIONS ##