(Edit: typo)
(Edit: typo)
git clone https://gitlab.com/myaccount/mydotfiles
followed by an optional:
./deploy_stuff_if_required
which for me I have working on any number of linux boxes as well as the odd windows one. I've got a bunch of other config, such as bash aliases/functions etc anyway so if I'm going to want that everywhere it doesn't matter what else comes with it; I only need to perform the above once and it takes under a couple of seconds; there's just literally no reason not to do it.
One advantage of using vim-related config is precisely so you can do the same thing on different machines, including windows and linux. One thing that article doesn't touch on is tmux, and there you can have config for vim, tmux and bash so that you can effortlessly and identically move between panes in tmux as you do in vim; copy text between panes, ssh sessions and vim buffers etc. Without this system I'd be running multiple ssh sessions in little windows and copying text between them (using the mouse!) like a doofus.
Disclaimer: I recently made one of these "dotfiles" repositories anyways, to take of that what you will.
Yes, you could download random scripts from the internet and execute them, and you'll probably get into trouble once an auditor checks your system.
Not a nice experience. Would not recommend.
the person you initially responded to was likely referring to ssh connections to servers
I always get into trouble due to inconsistencies across unix environments, and still don’t understand all the different greps I’ve encountered. I absolutely love these newer tools that shed all the attempts at unix-grey-beard backwards-compatibility..
(This is ofc completely subjective)