I want to make a script which will quickly replace the .vimrc file on unix type machines. The problem is that on the machines I am working vim is not located in home, and it doesn’t search for the vimrc in the home folder.
Basically the terminal command analog for what is :echo $VIMRUNTIME in Vim.
According to VIM’s help for vimrc:
So each user on your system could have a .vimrc stashed away in a different location, and might even be named differently.
Do you really want to take away the freedom of the users to customize VIM as they please?