Repo containing my config files. Mainly focused on setting up a new Mac.
-
Make
bash
the default shell:chsh -s /bin/bash
(exit the shell, and start a new one for the rest of the steps.) -
Install the Xcode command-line tools:
xcode-select --install
-
Create an ssh key:
ssh-keygen -t rsa
-
Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Upgrade to newer version of bash:
brew install bash sudo sh -c 'echo /opt/homebrew/bin/bash >> /etc/shells' chsh -s /opt/homebrew/bin/bash
-
Install gnu
stow
:brew install stow
curl https://raw.githubusercontent.com/wooters/dotfiles/master/mac_setup.sh | sh
This assumes:
- GNU Stow is installed.
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install --no-update-rc --no-zsh --no-fish
git clone --depth 1 https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt
git clone [email protected]:wooters/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
stow bash
stow tmux
stow emacs