install.doctor icon indicating copy to clipboard operation
install.doctor copied to clipboard

`.viminfo` showing up in `$HOME` directory

Open ProfessorManhattan opened this issue 2 years ago β€’ 3 comments
trafficstars

❔ What are you experiencing an issue with?

Latest Release

❔ Version

Latest

🐞 Description

On macOS, the .viminfo is showing up in the user's home directory. This should be stored in the vim cache folder or wherever makes the most sense. Main point is to keep the $HOME directory clear of spammy dotfiles.

⏺️ Steps To Reproduce

No response

πŸ“’ Relevant Log Output

No response

πŸ’‘ Possible Solution

No response

ProfessorManhattan avatar Jun 01 '23 06:06 ProfessorManhattan

Please also look into getting rid of the .docker/ folder.

ProfessorManhattan avatar Jun 01 '23 06:06 ProfessorManhattan

The fix for .viminfo location (set viminfo+=n~/.config/vim/viminfo) is available here already. Tested this and it works (the folder .config/vim should exists for the file to be saved there).

As for the ~/.docker folder, it appears to be installed during the installation of docker-pushrm plugin. This is documented in the source repository. This is one of the locations (appears to the first folder where plugins are searched per this. That link also shows the other locations (/usr/local/lib/docker/cli-plugins & /usr/local/libexec/docker/cli-plugins, /usr/lib/docker/cli-plugins & /usr/libexec/docker/cli-plugins), and this has some more info.

docker-pushrm plugin is installed using the Taskfile here. The source repository provides an alternate location to install which is one of the locations mentioned in the docker/cli issues. Do we want to update the Taskfile to install it in a system directory instead of $HOME?

enggnr avatar Jul 15 '23 02:07 enggnr

@ProfessorManhattan, this can be closed.

enggnr avatar Nov 09 '23 10:11 enggnr