2021-07-06 20:10:15 +02:00
|
|
|
# aliases for grc(1)
|
|
|
|
|
|
|
|
[ -f /etc/default/grc ] && . /etc/default/grc
|
|
|
|
|
|
|
|
[ x$GRC_ALIASES = xtrue ] || exit 0
|
|
|
|
|
2017-02-10 10:02:15 +01:00
|
|
|
GRC="$(which grc)"
|
2021-07-06 17:37:37 +02:00
|
|
|
if tty -s && [ -n "$TERM" ] && [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
|
2018-05-03 14:50:49 +02:00
|
|
|
alias colourify="$GRC -es"
|
2016-05-14 08:12:42 +02:00
|
|
|
alias blkid='colourify blkid'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias configure='colourify ./configure'
|
2016-05-14 08:12:42 +02:00
|
|
|
alias df='colourify df'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias diff='colourify diff'
|
2016-05-14 08:12:42 +02:00
|
|
|
alias docker='colourify docker'
|
2018-06-25 17:35:38 +02:00
|
|
|
alias docker-compose='colourify docker-compose'
|
2016-05-14 08:12:42 +02:00
|
|
|
alias docker-machine='colourify docker-machine'
|
|
|
|
alias du='colourify du'
|
|
|
|
alias env='colourify env'
|
|
|
|
alias free='colourify free'
|
2017-02-28 19:24:50 +01:00
|
|
|
alias fdisk='colourify fdisk'
|
|
|
|
alias findmnt='colourify findmnt'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias make='colourify make'
|
|
|
|
alias gcc='colourify gcc'
|
|
|
|
alias g++='colourify g++'
|
2017-04-21 11:28:47 +02:00
|
|
|
alias id='colourify id'
|
2016-05-14 08:12:42 +02:00
|
|
|
alias ip='colourify ip'
|
|
|
|
alias iptables='colourify iptables'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias as='colourify as'
|
|
|
|
alias gas='colourify gas'
|
2020-06-27 20:47:03 +02:00
|
|
|
alias journalctl='colourify journalctl'
|
2019-07-24 10:26:44 +02:00
|
|
|
alias kubectl='colourify kubectl'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias ld='colourify ld'
|
2017-03-04 10:23:36 +01:00
|
|
|
#alias ls='colourify ls'
|
2017-02-28 19:24:50 +01:00
|
|
|
alias lsof='colourify lsof'
|
2016-05-14 08:12:42 +02:00
|
|
|
alias lsblk='colourify lsblk'
|
|
|
|
alias lspci='colourify lspci'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias netstat='colourify netstat'
|
|
|
|
alias ping='colourify ping'
|
2019-07-24 08:47:26 +02:00
|
|
|
alias ss='colourify ss'
|
2016-05-19 00:57:11 +02:00
|
|
|
alias traceroute='colourify traceroute'
|
2016-05-19 00:55:20 +02:00
|
|
|
alias traceroute6='colourify traceroute6'
|
2015-03-15 19:39:27 +01:00
|
|
|
alias head='colourify head'
|
|
|
|
alias tail='colourify tail'
|
|
|
|
alias dig='colourify dig'
|
|
|
|
alias mount='colourify mount'
|
|
|
|
alias ps='colourify ps'
|
|
|
|
alias mtr='colourify mtr'
|
2016-06-19 01:18:18 +02:00
|
|
|
alias semanage='colourify semanage'
|
2017-09-25 02:42:42 +02:00
|
|
|
alias getsebool='colourify getsebool'
|
2016-05-19 00:56:17 +02:00
|
|
|
alias ifconfig='colourify ifconfig'
|
2020-10-13 16:08:49 +02:00
|
|
|
alias sockstat='colourify sockstat'
|
2015-03-15 19:39:27 +01:00
|
|
|
fi
|
2017-02-10 10:02:15 +01:00
|
|
|
|