From 53633cac79bf722c722530a5bb940cfe821998d1 Mon Sep 17 00:00:00 2001 From: Phantop Date: Sun, 5 Jul 2020 15:56:47 -0400 Subject: [PATCH] Fish: zstd squash, xsquash is separate --- .config/fish/functions/squash.fish | 4 ++-- .config/fish/functions/xsquash.fish | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .config/fish/functions/xsquash.fish diff --git a/.config/fish/functions/squash.fish b/.config/fish/functions/squash.fish index 1592286..251c640 100644 --- a/.config/fish/functions/squash.fish +++ b/.config/fish/functions/squash.fish @@ -1,4 +1,4 @@ -# Defined in /tmp/fish.Ce3uv4/squash.fish @ line 2 +# Defined in /tmp/fish.ozWZUL/squash.fish @ line 2 function squash - mksquashfs . ../(basename (pwd))Squash -comp xz -b 1M -Xdict-size 1M + mksquashfs . ../(basename (pwd))Squash -comp zstd -b 1M -Xcompression-level 22 end diff --git a/.config/fish/functions/xsquash.fish b/.config/fish/functions/xsquash.fish new file mode 100644 index 0000000..174c222 --- /dev/null +++ b/.config/fish/functions/xsquash.fish @@ -0,0 +1,3 @@ +function xsquash + mksquashfs . ../(basename (pwd))Squash -comp xz -b 1M -Xdict-size 1M +end