function init --on-event init_grc
  set -l execs cat cvs diff dig gcc g++ ls make mount mtr \
               netstat ping ps tail traceroute wdiff

  if not available grc
    echo 'You need to install grc!'
    return 0
  end

  if set -q grc_plugin_execs
    set execs $execs $grc_plugin_execs
  end

  for executable in $execs
    if available $executable
      function $executable --inherit-variable executable --wraps=$executable
        grc.wrap $executable $argv
      end
    end
  end

end
function init --on-event init_grc
  set -l execs cat cvs df diff dig gcc g++ ls ifconfig \
               make mount mtr netstat ping ps tail traceroute \
               wdiff 

  if not available grc
    echo 'You need to install grc!'
    return 0
  end

  if set -q grc_plugin_execs
    set execs $execs $grc_plugin_execs
  end

  for executable in $execs
    if available $executable
      function $executable --inherit-variable executable --wraps=$executable
        grc.wrap $executable $argv
      end
    end
  end

end

Add df and ifconfig commands
Add df and ifconfig commands

oh-my-fish/plugin-grc