/dotfiles

libert dotfiles

Primary LanguageShell

Inspiration from my buddy https://github.com/leeren/dotfiles

Dotfiles Management

The recommended way of syncing these dotfiles is using GNU-stow.

For Debian-like distributions, you would thus sync with your home directory as follows:

sudo apt install stow
stow vim bash ctags
stow <packagename> # activates symlink
stow -n <packagename> # trial runs or simulates symlink generation. Effective for checking for errors
stow -D <packagename> # delete stowed package
stow -R <packagename> # restows package

For submodules, perform symlinks relative to where the submodule should be placed (i.e. in vim/.vim/pack/plugins/start run ln -s ../../../../../submodules/submodule).

Adding submodules

git submodule add https://github.com/preservim/nerdtree submodules/nerdtree

Update submodules

git submodule update --remote

Scripts

Sysmlink to scripts folder is created manually

ln -s $HOME/dotfiles/scripts ~/