My configuration files for shells & stuff ๐
- Linux Distribution: Ubuntu on WSL 2
- Terminal: Windows Terminal
- Shell: Bash
- Text Editor: Neovim
Note: Stock configuration files in the $home
directory may prevent checking out the repo. Remove them from $HOME
by either moving them to a backup folder or deleting them.
Follow either the manual or the script instructions.
- Clone the repo to $HOME.
git clone --bare [email protected]:geyokoyama/dotfiles.git $HOME/.cfg
- Set alias for the .cfg dotfiles repo for easy access.
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
- Checkout the repo.
config checkout
- Ignore untracked files.
config config --local status.showUntrackedFiles no
- Set origin to the remote repo because bare repos don't do so automatically.
config push --set-upstream origin main
- Run the following script to install.
curl -#L https://raw.githubusercontent.com/geyokoyama/dotfiles/main/scripts/setup.sh | /usr/bin/bash
- Dotfiles: Best Way to Store in a Bare Git Repository
- The best way to store your dotfiles: A bare Git repository EXPLAINED
- Dotfiles - How to Configure your Shell (intro)
- Build your first Neovim configuration in lua
- Everything you need to know to configure neovim using lua
- Make Your dotfiles Portable With Git and a Simple Bash Script