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:
parent
a4a3dad957
commit
d89bfa302b
|
@ -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
|
||||
tar -cf $argv.tar $argv
|
||||
xz -efvk9T 0 $argv.tar
|
||||
rm $argv.tar
|
||||
else
|
||||
xz -efvk9T 0 $argv
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue