summaryrefslogtreecommitdiff
path: root/dot_local/share/sh/ugrep
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-03-08 22:38:15 +0100
commitcc74c7adb0a5fc4a3b90d3ea43424123f0acde44 (patch)
tree01c5f4be74233b585da451a580fee237d1aba21c /dot_local/share/sh/ugrep
parentgit: difftastic is optional, add local.config (diff)
sh: move from ~/.local/lib/sh to ~/.local/share/sh
It's debatable but ultimately it *is* arch-independent and ro.
Diffstat (limited to '')
-rw-r--r--dot_local/share/sh/ugrep9
1 files changed, 9 insertions, 0 deletions
diff --git a/dot_local/share/sh/ugrep b/dot_local/share/sh/ugrep
new file mode 100644
index 0000000..28bd159
--- /dev/null
+++ b/dot_local/share/sh/ugrep
@@ -0,0 +1,9 @@
+. 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'
+alias g='ug -G -.'