1
0
Fork 0
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:
Phantop 2020-01-13 16:34:04 -05:00
parent 88a6122a3b
commit 683bca2848

View file

@ -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