2
0
mirror of https://github.com/garabik/grc.git synced 2024-09-18 17:31:29 +02:00
bash-color-grc/grc.fish
2017-03-28 05:28:02 +02:00

21 lines
702 B
Fish

#!/usr/bin/env fish
#
# To load in ~/.config/fish/fish.conf or a new file in
# ~/.config/fish/conf.d add:
# source /etc/grc.fish (path may depend on install method)
#
# 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 \
make mount mtr netstat ping ps tail traceroute \
wdiff blkid du docker docker-machine env ip iostat \
last lsattr lsblk lspci lsmod getfacl getsebool ulimit uptime nmap \
free semanage sar ss sysctl systemctl stat showmount tune2fs \
vmstat w who
for executable in $grc_plugin_execs
if type -q $executable
alias $executable "grc $executable"
end
end