33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
0. this config directory contain config files for severall linux configuration
|
|
|
|
- it will place them as a symlink where they need to be (eg. `.vimrc` into `$HOME/`)
|
|
- then any modification to them will be a modification to the file in this folder
|
|
- so you can save them all by just saving this folder
|
|
|
|
1. you should put this folder `huhuhu_config` into the $HOME directory
|
|
|
|
this is for .screenrc configuration to work
|
|
|
|
2. then run bash install.sh
|
|
|
|
it will check if a list of config files already exists :
|
|
|
|
- .vimrc
|
|
- .screenrc
|
|
- .zshrc already
|
|
|
|
and for each of them :
|
|
|
|
- if it already exist, it will copy the existing file or folder into <file>.bak[nb]. ([nb] is an number, starting to 0)
|
|
- then it will create a sym link in $HOME to those in this config folder
|
|
|
|
3. to uninstall run bash uninstall.sh
|
|
|
|
- it check if the current config file exist, is a symlink, and contain the key phrase `#hugogogo#`
|
|
- if so, it will delete it, and replace it by the last config backup file found
|
|
|
|
4. if you want to add a config file :
|
|
|
|
- put it into `config_files`
|
|
- and add it both into `install.sh` and `uninstall.sh`
|