A grc plugin plugin for Oh My Fish.
Note: You need to have grc installed
$ omf install grc
Everyone supported by the original grc tool. If there are tools that are missing add them to the executables file and make a pull-request for it
Among others, it includes the following:
cat
cvs
df
diff
dig
gcc
g++
ifconfig
ls
make
mount
mtr
netstat
ping
ps
tail
traceroute
wdiff
It's possible to define additional command options via universal grcplugin
variables. For example:
set -U grcplugin_ls --color -l
Makes grc
call ls
with --color
and -l
options.
It's possible to override the commands that are colorized via grc_plugin_execs
variable. For example:
set -U grc_plugin_execs gcc g++ make
Enables grc
colorizing for only gcc
, g++
& make
and disables all others.
Alternatively, you can specify commands that the plugin should not override.
You can do that via the grc_plugin_ignore_execs
variable:
set -U grc_plugin_ignore_execs ls
If you have custom executables that should be wrapped with grc
specify them in
grc_plugin_extras
:
set -U grc_plugin_extras my_custom_executable
MIT © oh-my-fish et al