Personal dotfiles managed using a bare Git repository.
# Clone the dotfiles repo to a bare repository
git clone --bare git@github.com:Nesurion/dotfiles.git $HOME/.dotfiles
# Create an alias for managing dotfiles
alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
# Checkout the dotfiles
dotfiles checkout
# Set the flag to not show untracked files
dotfiles config --local status.showUntrackedFiles no-
Copy the example file:
cp ~/.zshrc.local.example ~/.zshrc.local
-
Edit
~/.zshrc.localand fill in your actual values:- Google API key
- Azure OpenAI key
- Jira API token
- Any other private credentials
-
Never commit
.zshrc.local- it's already in.gitignore
Use the dotfiles alias instead of git:
dotfiles status
dotfiles add .vimrc
dotfiles commit -m "Update vimrc"
dotfiles push- zsh configuration with oh-my-zsh
- vim/neovim configuration
- git configuration
- tmux configuration with TPM plugins and custom Oasis theme
- Various dotfiles for tools like fzf, lazygit, etc.
Plugins are managed via TPM. Install it once:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmThen inside tmux, press prefix + I to fetch and install all plugins.
| Plugin | Purpose |
|---|---|
| tmux-sensible | Sane defaults everyone can agree on |
| tmux-oasis | Status bar theme framework |
| tmux-fzf-url | Open URLs from terminal history with fzf (prefix + u) |
| tmux-floax | Floating scratch pane (prefix + f, menu prefix + F) |
| tmux-which-key | Which-key popup for tmux bindings |
The repo ships a custom colorscheme for tmux-oasis based on the Tokyo Night Moon palette. The theme file lives at:
~/.tmux/plugins/tmux-oasis/themes/dark/oasis_tokyonight_moon_dark.conf
It is not bundled with the upstream tmux-oasis plugin — after installing plugins via TPM you need to copy or symlink it into the plugin's themes directory:
# copy
cp ~/.config/tmux/themes/oasis_tokyonight_moon_dark.conf \
~/.tmux/plugins/tmux-oasis/themes/dark/
# or symlink (survives theme file edits without re-copying)
ln -s ~/.config/tmux/themes/oasis_tokyonight_moon_dark.conf \
~/.tmux/plugins/tmux-oasis/themes/dark/oasis_tokyonight_moon_dark.confThe theme is selected in ~/.config/tmux/tmux.conf via:
set -g @oasis_flavor 'tokyonight_moon_dark'Note: tmux-oasis only auto-appends
_darkfor its built-in theme names.tokyonight_moonis a custom theme, so the full suffix_darkmust be included explicitly.
Private credentials and API keys are stored in ~/.zshrc.local which is not tracked in git.