tree plugin can't be installed when p7zip is installed #49

Open
ZyX-I opened this Issue Sep 10, 2011 · 1 comment

Projects

None yet

1 participant

@ZyX-I
Collaborator

After unpacking tree.tgz archive there is tree.tar.tar left, while expected only tree.tar. Not sure how this should be fixed: real problem is that gzip saves original file name (while non of xz, lzma and bzip2 utilities are doing the same) and 7z fairly extracts it (for other utilities it reconstructs it using archive file name; it is not documented in man page, but I played with renaming archives without changing their contents and it seems like I am true).

Plugin in question: http://www.vim.org/scripts/script.php?script_id=1139.

@ZyX-I
Collaborator

One possible solution is to check what appeared in the archive directory (and hope nobody named tar archive a.tar.gz, gzipped it and renamed to a.tar.gz).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment