A collection of my personal dotfiles. These dotfiles are designed to work on macOS and Linux systems, providing a consistent and efficient environment. They include configurations for ZSH, Tmux, and various other tools that I use daily.
Clone this repository:
git clone https://github.com/dkadev/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && chmod +x install.sh
Run the installation script to install pre-requisites and set up the dotfiles:
./install.sh
Script will ask for sudo permissions and install the following:
- Make ZSH default shell if not already
- Oh My ZSH
- powerlevel10k Theme for Oh My ZSH
- bat cat on steroids
- fzf command-line fuzzy finder
- eza A modern alternative to ls
- ripgrep A line-oriented search tool that recursively searches your current directory for a regex pattern
- tmux Terminal multiplexer
- Nerd Font like Hack
Then it will auto-symlink the dotfiles to your home directory.
If you don't want to run the installation script, you can still use the dotfiles by manually symlinking them to your home directory. This is useful if you already have ZSH, Oh My ZSH, and other dependencies installed.
Using GNU Stow (recommended)
Install GNU Stow (if not already installed)
Mac: brew install stow
Ubuntu: apt-get install stow
Fedora: yum install stow
Arch: pacman -S stow
Then simply use stow to install the dotfiles you want to use:
cd ~/.dotfiles
stow vim
stow tmux
Create symbolic links for the configurations you want to use, e.g.:
ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
Some of the configurations need additional setup or configuration. If that's the case you can find a README.md
file in the application's directory. Make sure to take a look at it to see what else there is to do to make the configuration work on your system.