This directory contains the dotfiles for my system
Ensure you have the following installed on your system
Depending on your OS:
- Mac use Brew
- Linux/WSL2 use your package manager (
sudo apt install
,pacman -S
etc.)
This repo uses TPM to manage tmux plugins, including colorschemes and key bindings.
You need to install TPM manually by cloning it to your local tmux plugins directory:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
brew install git
brew install stow
First, clone out the dotfiles repo in your $HOME directory using git
git clone [email protected]/rosscondie/.dotfiles.git
cd dotfiles
then use GNU stow to create symlinks
stow .
Using GNU Stow with .local
on WSL2 vs macOS
On macOS running stow .local
inside the .dotfiles
directory worked as expected.
However on Ubuntu/WSL2 it seems GNU Stow treats .local
as a package folder (i.e. it tries to create ~/bin
instead of ~/.local/bin
).
To get around this run stow with the --target
option to specify the target directory:
stow --target=$HOME/.local .local
After stowing tmux config, ensure TPM is intalled and plugins are loaded:
tmux source-file ~/.tmux.conf
Then inside a tmux session press prefix + I
to install plugins.
Check .tmux.conf
for the prefix
key binding. It is usually set to Ctrl + b
but I find Ctrl + a
works better for me.