mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-05 14:34:47 +00:00
11 lines
218 B
Fish
11 lines
218 B
Fish
|
# 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
|