summaryrefslogtreecommitdiff
path: root/dot_local/lib/sh/ugrep
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_local/lib/sh/ugrep8
1 files changed, 8 insertions, 0 deletions
diff --git a/dot_local/lib/sh/ugrep b/dot_local/lib/sh/ugrep
new file mode 100644
index 0000000..1000a39
--- /dev/null
+++ b/dot_local/lib/sh/ugrep
@@ -0,0 +1,8 @@
+. hascmd ugrep || return
+alias grep='ugrep -G -.'
+alias xdump='ugrep -X ""'
+
+. hascmd ug || return
+alias uq='ug -Q'
+alias ux='ug -UX'
+alias uz='ug -z'