Skip to content

Repository files navigation

🦚Zeh’s dotfiles🦩

place where I store my poorly organized configurations

Desktop Print

Stow structure

Each top-level directory is a stow package. Its contents mirror your $HOME, so stow knows exactly where to symlink everything.

~/.dotfiles/
├── bash/
│   └── .bashrc
├── zsh/
│   └── .zshrc
├── git/
│   └── .gitconfig
├── nvim/
│   └── .config/nvim/
├── tmux/
│   └── .tmux.conf
└── ...

Install stow:

# debian
sudo apt install stow

# nix
nix shell -p stow
 
# macOS (Homebrew)
brew install stow

setup with stow

1. Clone the repo

git clone https://github.com/yourusername/dotfiles.git ~/.dotfiles
cd ~/.dotfiles

2. Back up any existing configs you care about

# example — do this for any file that already exists
mv ~/.bashrc ~/.bashrc.bak

3. Stow a package

stow bash        # links bash/.bashrc → ~/.bashrc
stow nvim        # links nvim/.config/nvim/ → ~/.config/nvim/

4. Stow everything at once

stow */

Tip: use stow -n (dry run) to preview what would be linked before actually doing it.

9. Remove a package

stow -D bash     # removes symlinks created by the bash package

0. Re-stow after adding/removing files

stow -R bash     # equivalent to -D then -S

About

✨My linux desktop configuration✨

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages