1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 11:52:47 +00:00

fish: zcompress (zstd)

This commit is contained in:
Phantop 2020-07-06 16:55:03 -04:00
parent 53633cac79
commit 65bfabda32

View file

@ -0,0 +1,10 @@
# Defined in /tmp/fish.PGT46K/zcompress.fish @ line 2
function zcompress
if test -d $argv
tar -cf $argv.tar $argv
zstd -19 $argv.tar
rm $argv.tar
else
zstd -19 $argv
end
end