mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-18 12:52:44 +00:00
10 lines
164 B
Fish
10 lines
164 B
Fish
function zcompress
|
|
if test -d $argv
|
|
tar -cf $argv.tar $argv
|
|
zstd -19 $argv.tar
|
|
rm $argv.tar
|
|
else
|
|
zstd -19 $argv
|
|
end
|
|
end
|