xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit a9ba2fe226c48989bb36ee2de578b4b9b18b6f9a

packer: fix unpacking pure tar archives
That is files without any compression, just `.tar` suffix.
Author: xaizek
Author date (UTC): 2026-03-14 12:40
Committer name: xaizek
Committer date (UTC): 2026-03-14 12:40
Parent(s): 4d12630e2d01eec16bbe9a76ee1dfdb4b3541c53
Signing key: 99DC5E4DB05F6BE2
Tree: b428f66218ec119bd5be6c31d8fef27637c6aa4a
File Lines added Lines deleted
data/plugins/packer/unpack.lua 3 1
File data/plugins/packer/unpack.lua changed (mode: 100644) (index 550bba623..2b6d366c1)
... ... local function unpack_archive(archive, target, onexit) -- <<<
119 119
120 120 local cmd local cmd
121 121 if ext == 'tar' then if ext == 'tar' then
122 if cmp == "tgz" or cmp == "gz" then
122 if cmp == nil then
123 cmd = string.format('tar --force-local -C %s --no-auto-compress -vxf %s', eoutdir, efpath)
124 elseif cmp == "tgz" or cmp == "gz" then
123 125 cmd = string.format('tar --force-local -C %s -vxzf %s', eoutdir, efpath) cmd = string.format('tar --force-local -C %s -vxzf %s', eoutdir, efpath)
124 126 elseif cmp == "tbz2" or cmp == "bz2" then elseif cmp == "tbz2" or cmp == "bz2" then
125 127 cmd = string.format('tar --force-local -C %s -vxjf %s', eoutdir, efpath) cmd = string.format('tar --force-local -C %s -vxjf %s', eoutdir, efpath)
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master