Skip to content

Montex10Nicolas/dotty

Repository files navigation

Dotty

A dotfiles using GNU Stow

Credits

https://medium.com/quick-programming/managing-dotfiles-with-gnu-stow-9b04c155ebad for better understand how Stow works https://youtu.be/y6XCebnB9gs?si=m6B-szGdUQxOhXX6 for the inspiration

How to use it

Setup a new machine

Manually

Run stow <dir-name> to every directory you want to install

Automatically

Run .auto/install.sh to automatically run stow on every directory

Cautions This script assume this repository is stored in $HOME/dotfiles make sure to change the script if you are using another location

How to add new file and folder to the dotfiles

Directly in the $HOME

If the file/folder needs to be linked to the $HOME we can place it inside root folder or creating another single depth folder like root, for example scripts could just be moved inside root and so .oh-my-zsh I decided to split them but it's not necessary

Inside another directory in the $HOME

If the file/folder needs to be inside another directory that is locate in $HOME we needs to create a new folder this name does not matter usually, I used the name of the program stow will configure, and inside this folder you need to create the exact path that the items needs to do

So if nvim is $HOME/.config/nvim we need to create the .config folder like this ~/dotfiles/whateveryouwant/.config/nvim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages