My personal configuration files, managed with symlinks so edits here show up live wherever they're used.
Currently includes:
nvim/— Neovim configstarship/starship.toml— Starship prompt configtmux/.tmux.conf— tmux config
Clone this repo into your home directory:
git clone https://github.com/YOUR_USERNAME/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.shThis symlinks each config into the place the app expects it (e.g. nvim/ → ~/.config/nvim, tmux/.tmux.conf → ~/.tmux.conf).
- Move the config folder/file into this repo, ideally into its own subfolder:
mkdir -p ~/dotfiles/starship
mv ~/.config/starship.toml ~/dotfiles/starship/starship.toml- Open
install.shand add a newln -sfnline for it, following the same pattern as the existing ones:
#!/usr/bin/env bash
set -e
DOTFILES="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
mkdir -p ~/.config
ln -sfn "$DOTFILES/nvim" ~/.config/nvim
ln -sfn "$DOTFILES/starship/starship.toml" ~/.config/starship.toml
ln -sfn "$DOTFILES/tmux/.tmux.conf" ~/.tmux.conf
# ...(more lines)
echo "Dotfiles linked."- Run the install script again to create the new link:
./install.sh- Commit and push both the moved config and the updated
install.sh:
git add .
git commit -m "Add starship config"
git pushFrom then on, editing ~/.config/starship.toml and editing ~/dotfiles/starship/starship.toml are the same thing — it's one file linked in two places.