Skip to content

Commit

Permalink
Updates to scripts and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnicola committed Jun 25, 2013
1 parent dde0bd3 commit beb21c6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
20 changes: 16 additions & 4 deletions dotfiles
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
#!/bin/sh

echo "Updating submodules"
cd ~
cd dotfiles
git submodule init
git submodule update
sh ./laptop/mac

echo "Setting up symlinks"
ln -s ~/dotfiles/vimrc.local ~/.vimrc.local
ln -s ~/dotfiles/vimrc.bundles.local ~/.vimrc.bundles.local
ln -s ~/dotfiles/dotvim/zshrc ~/.zshrc
ln -s ~/dotfiles/dotvim/vimrc.local ~/.vimrc.local
ln -s ~/dotfiles/dotvim/vimrc.bundles.local ~/.vimrc.bundles.local
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/tmux-powerlinerc ~/.tmux-powerlinerc
ln -s ~/dotfiles/gitconfig ~/.gitconfig
ln -s ~/dotfiles/zshrc ~/.zshrc

echo "Setting up powerline font"
cp ~/dotfiles/dotvim/Monaco-Powerline.otf ~/Library/Fonts/

echo "Setting up oh-my-zsh powerline theme"
ln -s ~/dotfiles/oh-my-zsh-powerline-theme/powerline.zsh-theme ~/.oh-my-zsh/themes/powerline.zsh-theme
18 changes: 18 additions & 0 deletions install
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env zsh

git submodules init
git submodules update

echo "Setting up symlinks"
ln -s ~/dotfiles/dotvim/zshrc ~/.zshrc
ln -s ~/dotfiles/dotvim/vimrc.local ~/.vimrc.local
ln -s ~/dotfiles/dotvim/vimrc.bundles.local ~/.vimrc.bundles.local
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/gitconfig ~/.gitconfig

echo "Setting up powerline font ..."
cp ~/dotfiles/dotvim/*.otf ~/Library/Fonts/

~/dotfiles/laptop/mac
~/dotfiles/laptop/local

2 changes: 1 addition & 1 deletion laptop

0 comments on commit beb21c6

Please sign in to comment.