Skip to content

Instantly share code, notes, and snippets.

@dan-turner
Created August 6, 2021 06:00
Show Gist options
  • Save dan-turner/5d9deeab264fa44be7a79bcf60be720d to your computer and use it in GitHub Desktop.
Save dan-turner/5d9deeab264fa44be7a79bcf60be720d to your computer and use it in GitHub Desktop.
GRC="$(which grc)"
if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
alias colourify="$GRC -es --colour=auto"
alias blkid='colourify blkid'
alias configure='colourify ./configure'
alias df='colourify df'
alias diff='colourify diff'
alias docker='colourify docker'
alias docker-machine='colourify docker-machine'
alias du='colourify du'
alias env='colourify env'
alias free='colourify free'
alias fdisk='colourify fdisk'
alias findmnt='colourify findmnt'
alias make='colourify make'
alias gcc='colourify gcc'
alias g++='colourify g++'
alias id='colourify id'
alias ip='colourify ip'
alias iptables='colourify iptables'
alias as='colourify as'
alias gas='colourify gas'
alias ld='colourify ld'
#alias ls='colourify ls'
alias lsof='colourify lsof'
alias lsblk='colourify lsblk'
alias lspci='colourify lspci'
alias netstat='colourify netstat'
alias ping='colourify ping'
alias traceroute='colourify traceroute'
alias traceroute6='colourify traceroute6'
alias head='colourify head'
alias tail='colourify tail'
alias dig='colourify dig'
alias mount='colourify mount'
alias ps='colourify ps'
alias mtr='colourify mtr'
alias semanage='colourify semanage'
alias getsebool='colourify setsebool'
alias ifconfig='colourify ifconfig'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment