mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-17 12:22:57 +00:00
Fish: fix zip.xz
This commit is contained in:
parent
88a6122a3b
commit
683bca2848
|
@ -1,7 +1,7 @@
|
||||||
# Defined in /tmp/fish.JK2lNx/xcompress.fish @ line 2
|
# Defined in /tmp/fish.RFrpYE/xcompress.fish @ line 2
|
||||||
function xcompress
|
function xcompress
|
||||||
if test -d $argv
|
if test -d $argv
|
||||||
tar -0r $argv.zip $argv
|
zip -0r $argv.zip $argv
|
||||||
xz -efvk9T 0 $argv.zip
|
xz -efvk9T 0 $argv.zip
|
||||||
rm $argv.zip
|
rm $argv.zip
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue