1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 20:02:47 +00:00
dotfiles/.config/fish/functions/zcompress.fish

11 lines
218 B
Fish
Raw Normal View History

2020-07-06 20:55:03 +00:00
# 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