Thanks to visit codestin.com
Credit goes to github.com

Skip to content

konrad126/dotfiles-bckp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config files

My configuration (dot) files.

Installation

  1. Clone the repository in some directory:

    git clone [email protected]:zspajich/dotfiles2.0.git my-confiles-dir
  2. Enter the directory where you’ve cloned confiles and run confiles script with init argument:

    sh  confiles init

    The script will create a config file (module-name.config) for each module in config directory.

  3. Set config for each module

    • set destintion directory (where to link/copy the files from module)
    • set mode for each module (copy or symlinking)
  4. Run confiles script with add argument

    sh confiles add

    This will add all modules. Content of each module directory will be copied/symlinked in the destination directory set in config for that module.

    To run script for single module use -m options and provide module name:

    sh confiles add -m module-name
  5. If you want to show some additional message after adding the module create module-name.info file in the info directory and put yor message there

  6. You can run the confiles script for single module

    sh confiles add - m bash
    sh confiles init -m bash

De-installation

  1. To remove file(s), run
    sh confiles remove
    sh confiles remove -m bash

Additional

In folder runnables put some additional scripts to rune. Eg. macos script set some macos defaults I use.

Adding new module

  1. Add a new directory to modules directory. The name of the directory you add will be the name of the module.

  2. Add to module directory all files or modules you want.

  3. Follow steps from instalation procedure.

Acknowledgements

The code was taken from many sources and used Ivan Nikolic as starting point.

About

A simple tool to manage my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages