1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 11:52:47 +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 function xcompress
if test -d $argv if test -d $argv
zip -0r $argv.zip $argv tar -cf $argv.tar $argv
xz -efvk9T 0 $argv.zip xz -efvk9T 0 $argv.tar
rm $argv.zip rm $argv.tar
else else
xz -efvk9T 0 $argv xz -efvk9T 0 $argv
end end