This is my personal configuration repo. For ease of use, here is how to apply them and track any changes.
- Some nerd fonts (like that one)
- git (version control for this repo. Yes)
- curl
- homebrew
- antigen (plugin manager for zsh, install in $HOME)
- eza (replacement for
ls
) - zoxide (replacement for
cd
) - python3.11 (optional as an alias is configured for it, remove it if necessary)
- fzf (fuzzy finder for quick jump to file)
- nvim (this is now you IDE)
- thefuck (helps rephrase missed commands)
- bun (optional as an alias is configured for it, remove it if necessary)
- bat (syntax highlighting in
cat
) - LazyGit (optional as an alias is configured for it, remove it if necessary)
- Install Tmux Plugin Manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
- Install Alacritty themes and add coolnight
mkdir ~/.config/alacritty
cd ~/.config/alacritty
git clone https://github.com/alacritty/alacritty-theme themes
curl https://raw.githubusercontent.com/josean-dev/dev-environment-files/main/.config/alacritty/themes/themes/coolnight.toml --output ~/.config/alacritty/themes/themes/coolnight.toml
.zshenv
- Add the following alias to
.zshrc
or your terminal session
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
- Ignore clone folder to avoid weird recursion issues
alias echo ".cfg" >> .gitignore
- Clone the dotfiles
git clone --bare [email protected]:DrKabum/dotfiles.git $HOME/.mycfg
- Define the
config
alias for git in this bare repo
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
- Checkout actual content of the remote into $HOME:
config checkout
Tip
If the above fails, it's because some of the config files from this repository are already present by default. Move them to a backup folder or delete them.