projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1cf6c0a
)
zshrc: add lrzip support for simple-extract()
author
lunik1
<ch.gpg@themaw.xyz>
Thu, 14 Jan 2021 17:54:43 +0000
(17:54 +0000)
committer
lunik1
<ch.gpg@themaw.xyz>
Thu, 14 Jan 2021 17:54:43 +0000
(17:54 +0000)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
e21c772
..
03d9c4d
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-3569,6
+3569,11
@@
function simple-extract () {
USES_STDIN=true
USES_STDOUT=false
;;
+ *tar.lrz)
+ DECOMP_CMD="lrzuntar"
+ USES_STDIN=false
+ USES_STDOUT=false
+ ;;
*tar)
DECOMP_CMD="tar -xvf -"
USES_STDIN=true
@@
-3619,6
+3624,11
@@
function simple-extract () {
USES_STDIN=true
USES_STDOUT=true
;;
+ *lrz)
+ DECOMP_CMD="lrunzip -"
+ USES_STDIN=true
+ USES_STDOUT=true
+ ;;
*)
print "ERROR: '$ARCHIVE' has unrecognized archive type." >&2
RC=$((RC+1))