summary refs log tree commit diff
path: root/fish/functions/grep.fish
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-04-13 01:00:41 +0000
committernoa@gaiwan.org2024-04-13 01:00:41 +0000
commit3ad265f282e8e61398fad6a4ec7fe0fa5d227586 (patch)
tree3e9f6dccb08612a84707f0320e392babfd7a0a5f /fish/functions/grep.fish
parent7cea8e1cfc2204d537c6acb80ea5249b1857fca9 (diff)
add fish grep function with no colour
Diffstat (limited to 'fish/functions/grep.fish')
-rw-r--r--fish/functions/grep.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/fish/functions/grep.fish b/fish/functions/grep.fish
new file mode 100644
index 0000000..bf66e8e
--- /dev/null
+++ b/fish/functions/grep.fish
@@ -0,0 +1,5 @@
+# grep without colour
+
+function grep
+	command grep --color=never $argv
+end