My various config files, fonts, icons, and other things I need across systems.
My setup and tools:
- Terminal: Kitty, previously Alacritty
- Prompt: Starship
- Shell: Fish
- Text Editors: VS Code and Neovim
- Fonts: Nerd Fonts (FiraCode and Hack)
- Dotfiles Management: GNU Stow
You must switch branch for your respective OS.
main
is for Linux and MacOS, mainly Pop!_OS/Ubuntu/macOS. Anything with apt or homebrew.
windows
is for windows.
Clone this repo and run these commands to create my dev workflow. My recommendation is clone this repo into $HOME/.dotfiles
like this
git clone <this repo> .dotfiles
#linux
apt install -y stow
cd $HOME/.dotfiles
stow .
# macOS Specific installation
# install xcode cli tools: need git installed
xcode-select --install
# clone repo to dotfiles dir
git clone git@github.com:joefitzy/dotfiles.git $HOME/.dotfiles
# Move into dotfiles dir
cd $HOME/.dotfiles
# install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install packages from brewfile
brew update && brew install just
just brewinstall
# install virtualenv
pipx install virtualenv
# use gnu stow to manage symlinks for dotfiles
# must be in $HOME/.dotfiles directory
stow .
# change shell to fish
# For mac, add fish path to `/etc/shells` file.
chsh -s $(which fish)
You might need to make a symlink to your fish install like this:
ln -s <current_fish_locaation> /usr/local/bin/fish
If you want to avoid using sudo with n
all the time: run these commands in your shell.
# make cache folder (if missing) and take ownership
sudo mkdir -p /usr/local/n
sudo chown -R $(whoami) /usr/local/n
# make sure the required folders exist (safe to execute even if they already exist)
sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
# take ownership of Node.js install destination folders
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share