1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-18 12:52:44 +00:00
dotfiles/.config/fish/functions/zcompress.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