modifs de l'installation automatique et ajouts configs files autofill cpp

This commit is contained in:
Hugo LAMY
2022-03-01 18:37:48 +01:00
parent 308b4c4fdc
commit 9af0f4b1ad
23 changed files with 603 additions and 197 deletions

32
README.md Normal file
View File

@@ -0,0 +1,32 @@
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`