mirror of https://github.com/garabik/grc.git
Merge pull request #218 from nodauf/devel
Add color for json output of base64 command
This commit is contained in:
commit
d8ad4fead5
4
grc.conf
4
grc.conf
|
@ -153,6 +153,10 @@ conf.fdisk
|
|||
^([/\w\.]+\/)?free\b
|
||||
conf.free
|
||||
|
||||
# base64
|
||||
^([/\w\.]+\/)?base64\b
|
||||
conf.json
|
||||
|
||||
------------
|
||||
# docker
|
||||
|
||||
|
|
2
grc.fish
2
grc.fish
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
# See also the plugin at https://github.com/oh-my-fish/plugin-grc
|
||||
|
||||
set -U grc_plugin_execs cat cvs df diff dig gcc g++ ls ifconfig \
|
||||
set -U grc_plugin_execs base64 cat cvs df diff dig gcc g++ ls ifconfig \
|
||||
make mount mtr netstat ping ps tail traceroute \
|
||||
wdiff blkid du dnf docker docker-compose docker-machine env id ip iostat journalctl kubectl \
|
||||
last lsattr lsblk lspci lsmod lsof getfacl getsebool ulimit uptime nmap \
|
||||
|
|
1
grc.sh
1
grc.sh
|
@ -11,6 +11,7 @@
|
|||
GRC="$(which grc)"
|
||||
if tty -s && [ -n "$TERM" ] && [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
|
||||
alias colourify="$GRC -es"
|
||||
alias base64='colourify base64'
|
||||
alias blkid='colourify blkid'
|
||||
alias configure='colourify ./configure'
|
||||
alias df='colourify df'
|
||||
|
|
Loading…
Reference in New Issue