Skip to content

Instantly share code, notes, and snippets.

@rattlion
Created February 5, 2015 17:26
Show Gist options
  • Save rattlion/9641210b34570374369b to your computer and use it in GitHub Desktop.
Save rattlion/9641210b34570374369b to your computer and use it in GitHub Desktop.
commands:
01_change_shell_to_zsh:
command: "chsh -s /bin/zsh ec2-user"
02_remove_default_vim:
command: "rm -rf /home/ec2-user/.vim"
03_install_dotfiles:
command: "git clone https://github.com/mrevd/dotfiles.git .dotfiles"
cwd: "/home/ec2-user"
test: "test ! -d /home/ec2-user/.dotfiles"
04_update:
command: "git pull"
cwd: /home/ec2-user/.dotfiles
05_init_submodules:
command: "git submodule init"
cwd: "/home/ec2-user/.dotfiles"
06_update_submodules:
command: "git submodule update"
cwd: "/home/ec2-user/.dotfiles"
07_rake:
command: "su ec2-user && rake 'install[o]'"
cwd: "/home/ec2-user/.dotfiles"
08_create_dropbox:
command: "mkdir -p /home/ec2-user/dropbox"
09_repair_perms:
command: "chown -R ec2-user:ec2-user /home/ec2-user/.dotfiles /home/ec2-user/dropbox"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment