It is my repo of configurations.
- git clone this repo
https://github.com/yufeixiong/dotfiles.git
-
set a global variable
- vim /etc/profile
- add to the end "export DOTFILES=/home/alan/dotfiles"
-
you can just source relative dotfiles in this repo
e.g. in ~/.vimrc , you just add one line "source $DOTFILES/vim/vimrc"