Skip to content

Instantly share code, notes, and snippets.

@AGresvig
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AGresvig/b862228f70a84238032e to your computer and use it in GitHub Desktop.
Save AGresvig/b862228f70a84238032e to your computer and use it in GitHub Desktop.
#!/bin/bash
# FIRST
# Install oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh)
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Set up Zsh config
sed -i '/ZSH_THEME="robbyrussell"/c\ZSH_THEME="af-magic"' .zshrc
sed -i '/plugins=(git)/c\plugins=(git debian dircycle tmux autojump command-not-found)' .zshrc
echo "export EDITOR='vim'" >> .zshrc
echo "alias zshconfig='vim ~/.zshrc'" >> .zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment