Archives can be entered like this, but you can't leave them by going to parent directory as vifm wants to do unmounting, which fails. I guess something like FUSE_MOUNT3
which will skip unmounting is needed.
In vifmrc
:
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz,*.deb
\ {Mount with avfs}
\ FUSE_MOUNT|mount-avfs %DESTINATION_DIR %SOURCE_FILE
$VIFM/scripts/mount-avfs
:
#!/bin/sh
dest=$1
file=$2
rmdir "$dest"
ln -s "$HOME/.avfs$file#/" "$dest"