boltlessengineer / dotfiles

My config files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My dotfiles

Installation

Mac

  1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew
xcode-select --install
  1. Clone repo into new hidden directory
git clone https://github.com/boltlessengineer/dotfiles ~/.dotfiles
  1. Create symlinks in the $HOME directory to the real files in the repo
# install neovim config
ln -shf ./nvim ~/.config/nvim

# install fish config
ln -shf ./fish ~/.config/fish

# copy tmux config
ln -shf ./tmux.conf ~/.tmux.conf

# install lf config
ln -shf ./lf ~/.config/lf

# install wezterm config
ln -shf ./wezterm ~/.config/wezterm
# download wezterm terminfo file (see official FAQ)
tempfile=(mktemp) \
  && curl -o $tempfile https://raw.githubusercontent.com/wez/wezterm/master/termwiz/data/wezterm.terminfo \
  && tic -x -o ~/.terminfo $tempfile \
  && rm $tempfile

NOTE: ln -shf is OSX specific command. ln -sf is fine for Linux.

install fish

# Install fish
brew install fish

# Add fish to /etc/shells
echo "$(where fish)" | sudo tee -a /etc/shells

# Change default shell to fish
chsh -s "$(where fish)"

# Run fish with --no-config
# Some programs should be installed first
fish --no-config

#

fisher update

Install stuffs

# Neovim
brew install neovim --HEAD

# WezTerm
brew tap wez/wezterm
brew install --cask wez/wezterm/wezterm # or wez/wezterm/wezterm-nighly

TODO

  • Create shell script to check if local config already exists
  • Test this in new Mac
  • Add Brewfile
  • Check this tool

About

My config files


Languages

Language:Shell 71.3%Language:Lua 15.3%Language:HTML 8.2%Language:CSS 3.5%Language:Vim Script 1.6%