What common dotfiles are unsafe to share?

531 views Asked by At

I want to backup some select dot files that I've put work into (.vimrc, for instance) on github for ease. Are there any that are particularly unsafe to share that I should avoid?

Things I want to include:

.vimrc (and related)
.vim
.zshrc
.pylintrc
1

There are 1 answers

0
Bad Horse On

rc files are generally used as configuration files, and are typically safe to share. vimrc files get shared quite frequently as people set up vim for various tasks.

I would not recommend including the .vim directory, as it includes system specific paths (will probably be useless when shared anyways).

Just be careful with the rc files, as it really depends what you have put in them (eg: if you put in credentials to mount a remove server = bad!). rc files are literally just a list of commands for a program to run on start up.