Added more color into my life
This commit is contained in:
parent
f978cba560
commit
f46138ea15
2 changed files with 40 additions and 10 deletions
|
|
@ -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 ##
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue