From f41ed2f3fcf580b04071b453c9b9e61f0a06e9e5 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Mon, 17 Jan 2022 18:10:58 -0500 Subject: fish/plug: add ugrep --- dot_config/private_fish/plug/ugrep.fish | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dot_config/private_fish/plug/ugrep.fish (limited to 'dot_config/private_fish/plug') diff --git a/dot_config/private_fish/plug/ugrep.fish b/dot_config/private_fish/plug/ugrep.fish new file mode 100644 index 0000000..afc2250 --- /dev/null +++ b/dot_config/private_fish/plug/ugrep.fish @@ -0,0 +1,19 @@ +type -qf ugrep || exit +alias grep 'ugrep -G' +alias egrep 'ugrep -E' +alias fgrep 'ugrep -F' +alias pgrep 'ugrep -P' +alias xgrep 'ugrep -W' + +alias zgrep 'ugrep -zG' +alias zegrep 'ugrep -zE' +alias zfgrep 'ugrep -zF' +alias zpgrep 'ugrep -zP' +alias zxgrep 'ugrep -zW' + +alias xdump 'ugrep -X ""' + +type -qf ug || exit +alias uq 'ug -Q' +alias ux 'ug -UX' +alias uz 'ug -z' -- cgit v1.2.3