mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-05 22:45:29 +00:00
11 lines
226 B
Fish
11 lines
226 B
Fish
# Defined in /tmp/fish.83qvw2/xcompress.fish @ line 2
|
|
function xcompress
|
|
if test -d $argv
|
|
tar -cf $argv.tar $argv
|
|
xz -efvk9T 0 $argv.tar
|
|
rm $argv.tar
|
|
else
|
|
xz -efvk9T 0 $argv
|
|
end
|
|
end
|