From 46649c2ac8b07e1b850d5c44b8b45bbcac9bc0a4 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 12 Nov 2023 15:11:42 +0100 Subject: [PATCH] vifm: fixed compress script and added it to vifm --- .local/bin/etc/vifm/vifm_compress | 1 + .local/bin/tools/compress | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 120000 .local/bin/etc/vifm/vifm_compress diff --git a/.local/bin/etc/vifm/vifm_compress b/.local/bin/etc/vifm/vifm_compress new file mode 120000 index 0000000..39b99a7 --- /dev/null +++ b/.local/bin/etc/vifm/vifm_compress @@ -0,0 +1 @@ +../../tools/compress \ No newline at end of file diff --git a/.local/bin/tools/compress b/.local/bin/tools/compress index 94d9d93..466a238 100755 --- a/.local/bin/tools/compress +++ b/.local/bin/tools/compress @@ -2,7 +2,7 @@ if [ -e $1 ] ; then case $2 in - 7z) 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on $1.7z ;; + 7z) 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on $1.7z $1 ;; *) echo "don't know how to compress '$1' in '$2'..." ;; esac else