mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-18 04:42:49 +00:00
11 lines
226 B
Fish
11 lines
226 B
Fish
# Defined in /tmp/fish.E9SjCK/zcompress.fish @ line 2
|
|
function zcompress
|
|
if test -d $argv
|
|
tar -cf $argv.tar $argv
|
|
zstd -T0 -19 $argv.tar
|
|
rm $argv.tar
|
|
else
|
|
zstd -T0 -19 $argv
|
|
end
|
|
end
|