diff options
| author | 2022-01-17 18:10:58 -0500 | |
|---|---|---|
| committer | 2022-01-17 18:10:58 -0500 | |
| commit | f41ed2f3fcf580b04071b453c9b9e61f0a06e9e5 (patch) | |
| tree | 47b2e8594d4fa7b74069d485002f9b5b678a4c33 /dot_config/private_fish | |
| parent | add ugrep (diff) | |
fish/plug: add ugrep
Diffstat (limited to 'dot_config/private_fish')
| -rw-r--r-- | dot_config/private_fish/plug/ugrep.fish | 19 |
1 files changed, 19 insertions, 0 deletions
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' |
