1# My dotfiles 2 3## Installation 4 5### Mac 6 71. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew 8 9```bash 10xcode-select --install 11``` 12 132. Clone repo into new hidden directory 14 15```bash 16git clone https://github.com/boltlessengineer/dotfiles ~/.dotfiles 17``` 18 193. Create symlinks in the $HOME directory to the real files in the repo 20 21```bash 22# install fish config 23ln -snf ./fish ~/.config/fish 24 25# copy tmux config 26ln -snf ./tmux.conf ~/.tmux.conf 27 28# install lf config 29ln -snf ./lf ~/.config/lf 30 31# install wezterm config 32ln -snf ./wezterm ~/.config/wezterm 33# download wezterm terminfo file (see official FAQ) 34tempfile=(mktemp) \ 35 && curl -o $tempfile https://raw.githubusercontent.com/wez/wezterm/master/termwiz/data/wezterm.terminfo \ 36 && tic -x -o ~/.terminfo $tempfile \ 37 && rm $tempfile 38``` 39 40### install fish 41 42```bash 43# Install fish 44brew install fish 45 46# Add fish to /etc/shells 47echo "$(where fish)" | sudo tee -a /etc/shells 48 49# Change default shell to fish 50chsh -s "$(where fish)" 51 52# Run fish with --no-config 53# Some programs should be installed first 54fish --no-config 55 56# 57 58fisher update 59``` 60 61### Install stuffs 62```bash 63# Neovim 64brew install neovim --HEAD 65 66# WezTerm 67brew tap wez/wezterm 68brew install --cask wez/wezterm/wezterm # or wez/wezterm/wezterm-nighly 69```