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_aliases
and sources them in.zshrc
- installs
homebrew
- uses homebrew to install a few key command line utils:
git
vim
nano
tmux
w3m
- sets a
.gitconfig
- sets a
.vimrc
- sets a
.nanorc
- opens the
iterm2
downloads 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
EOF
Set your .gitconfig
to the contents of ./gitconfig
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/gitconfig)" >> ~/.gitconfig
Set your .vimrc
to the contents of ./vimrc
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/vimrc)" >> ~/.vimrc
Set your .nanorc
to the contents of ./nanorc
echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/nanorc)" >> ~/.nanorc