1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-09-28 12:58:57 +00:00

Fish: revert to tar.xz xcompress

This commit is contained in:
Phantop 2020-04-27 22:19:53 -04:00
parent a4a3dad957
commit d89bfa302b

View file

@ -1,9 +1,9 @@
# Defined in /tmp/fish.RFrpYE/xcompress.fish @ line 2
# Defined in /tmp/fish.83qvw2/xcompress.fish @ line 2
function xcompress
if test -d $argv
zip -0r $argv.zip $argv
xz -efvk9T 0 $argv.zip
rm $argv.zip
if test -d $argv
tar -cf $argv.tar $argv
xz -efvk9T 0 $argv.tar
rm $argv.tar
else
xz -efvk9T 0 $argv
end