To install GNU Stow
and ansible
on Debian/Ubuntu like systems, follow these steps:
sudo apt install stow ansible git
ansible-pull \
--url https://github.com/import-benjamin/.dotfiles.git \
--checkout v1.1.0 \
--inventory localhost, \
--connection local \
playbook.yml
Use stow to create symlinks in your home directory for specific configurations.
stow $TOOL_DIRECTORY
This command will create a symlink for $TOOL_DIRECTORY
in your home directory, pointing to ~/dotfiles/bash/$TOOL_DIRECTORY
.
To remove symlinks: Use the -D
option. For example, to remove symlinks for Vim configurations:
stow -D vim