Haskell’s cabal package manager stores recent package source code in ~/Library/Haskell/repo-cache/*/*.tgz I’ve found that one often wishes to refer to Haskell module source code as documentation.
I’m happy simply using zless for small mostly text packages, but I could easily imagine improving upon this workflow.
I could install go to use zipfs from go-fuse to mount frequently referenced .tgz file directly, which might be useful. Anyone seen a fuse utility that mounts multiple .tgz files on one mount point?
I could alternatively write a tarless utility that treated a .tgz file like a directory by unpacking it in /tmp and displaying the file that appears after the *.tgz/. I’d then build the bash tab completion to navigate .tgz files from the command line.
Does anyone have recommendations in this or similar directions?
I’m not sure if that’s what you’re looking for, but as far as I know you can open/edit/save changes to
.tar.gzfiles directly with vim and emacs (and probably with other editors).