My personal dotfiles for macOS. This repository contains my configurations for Neovim, Vim, Hammerspoon, and the terminal. I have included a bootstrap script that will create the necessary symlinks for the configurations.
Note: This repository is a work in progress and is constantly being updated. Additionally, if you want to give these dotfiles a try, I recommend forking and reviewing the code before giving them a whirl.
This will provide you with essential tools like git.
xcode-select --install
Clone your dotfiles repository into a new hidden directory.
git clone https://github.com/micahkepe/dotfiles.git ~/.dotfiles
Initialize and update the git submodules to include dependencies like Vundle and YouCompleteMe.
cd ~./dotfiles
git submodule update --init --recursive
Only if it's not already installed.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
If you have a Brewfile in your dotfiles:
brew bundle install --file ~/.dotfiles/Brewfile
brew install --cask hammerspoon
This will create the necessary symlinks for your configurations.
bash ~/.dotfiles/bootstrap.sh
Either open a new terminal session or source the configuration files with:
source ~/.zshrc
To set Fish to be your default shell, first add the
following line to /etc/shells
:
/opt/homrebew/bin/fish
Then, run the following command:
chsh -s /opt/homebrew/bin/fish
If necessary, change following line in the ~/.config/fish/config.fish
file in
the Advanced
section:
# shell .
shell /opt/homebrew/bin/fish
And that's it! If you have any suggestions or questions feel free to open an issue or contact me.