aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/grep.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-13 00:22:42 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-13 00:22:42 +1000
commit9e304fa7340b8b74a604564cb44e426cafbe7d34 (patch)
tree4ca660a0d35b26a21b293ae885592b8f2760f316 /share/functions/grep.fish
parent6d9631d0d0798219223026cf1120a83ff2bb25c6 (diff)
Overhaul of the script autoloader. This should make sure that old scripts are unloaded and new scripts are loaded when the fish_function_path and fish_complete_path variables change
darcs-hash:20060712142242-ac50b-3966a0e96a32facc8bc1164d6d0837fc551e4733.gz
Diffstat (limited to 'share/functions/grep.fish')
-rw-r--r--share/functions/grep.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/grep.fish b/share/functions/grep.fish
index d34b288d..60e83b20 100644
--- a/share/functions/grep.fish
+++ b/share/functions/grep.fish
@@ -2,7 +2,7 @@
# Match colors for grep, if supported
#
-if grep --color=auto --help 1>/dev/null 2>/dev/null
+if command grep --color=auto --help 1>/dev/null 2>/dev/null
if not set -q GREP_COLOR
set -gx GREP_COLOR '97;45'
end