summaryrefslogtreecommitdiff
path: root/colorxzgrep.csh
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-21 00:41:09 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-21 00:41:09 +0000
commit10a88589d948bb44a2695ecb88633c8ce63e950f (patch)
tree88080814c25ab27e73a51b571789315f6bf0ad7d /colorxzgrep.csh
parent42618e75656fc8c7340fb590fe3daa330c69bb5d (diff)
automatic import of xzopeneuler20.03_LTS_SP4
Diffstat (limited to 'colorxzgrep.csh')
-rw-r--r--colorxzgrep.csh5
1 files changed, 5 insertions, 0 deletions
diff --git a/colorxzgrep.csh b/colorxzgrep.csh
new file mode 100644
index 0000000..a3964dc
--- /dev/null
+++ b/colorxzgrep.csh
@@ -0,0 +1,5 @@
+/usr/libexec/grepconf.sh -c
+if ( $status == 1 ) exit
+alias xzgrep 'xzgrep --color=auto'
+alias xzfgrep 'xzfgrep --color=auto'
+alias xzegrep 'xzegrep --color=auto'