mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-26 04:57:45 +01:00
vifm: fixed compress script and added it to vifm
This commit is contained in:
parent
a6402bc0b6
commit
46649c2ac8
1
.local/bin/etc/vifm/vifm_compress
Symbolic link
1
.local/bin/etc/vifm/vifm_compress
Symbolic link
@ -0,0 +1 @@
|
||||
../../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
|
||||
|
Loading…
x
Reference in New Issue
Block a user