Skip to content

chadlavi/quick-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick zsh setup for new mac

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)"

What does it do?

  1. installs ohmyzsh
  2. sets some .zsh_aliases and sources them in .zshrc
  3. installs homebrew
  4. uses homebrew to install a few key command line utils:
    • git
    • vim
    • nano
    • tmux
    • w3m
  5. sets a .gitconfig
  6. sets a .vimrc
  7. sets a .nanorc
  8. 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)

Just dotfiles

.zsh_aliases

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

.gitconfig

Set your .gitconfig to the contents of ./gitconfig

echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/gitconfig)" >> ~/.gitconfig

.vimrc

Set your .vimrc to the contents of ./vimrc

echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/vimrc)" >> ~/.vimrc

.nanorc

Set your .nanorc to the contents of ./nanorc

echo "$(curl -fsSL https://gitlab.com/chadlavimoniere/quick-setup/-/raw/main/nanorc)" >> ~/.nanorc

See also

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published