mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-28 23:35:46 +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
|