A one-liner quick setup script for some of my personal comfort preferences on a new mac
sh -c "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/setup.sh)"- installs
ohmyzsh - sets some
.zsh_aliasesand sources them in.zshrc - installs
homebrew - uses homebrew to install a few key command line utils:
gitvimnanotmuxw3m
- sets a
.gitconfig - sets a
.vimrc - sets a
.nanorc - opens the
iterm2downloads page so you can download it (download URL depends on current stable version so easiest to just do this one manually)
Set some zsh aliases and source them in .zshrc
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/zsh_aliases)" >> ~/.zsh_aliases
cat << 'EOF' >> .zshrc
if [ -f ~/.zsh_aliases ]; then
source ~/.zsh_aliases
fi
EOFSet your .gitconfig to the contents of ./gitconfig
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/gitconfig)" >> ~/.gitconfigSet your .vimrc to the contents of ./vimrc
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/vimrc)" >> ~/.vimrcSet your .nanorc to the contents of ./nanorc
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/nanorc)" >> ~/.nanorc