Permalink
Browse files

Sync dotfiles to home dir

  • Loading branch information...
1 parent 7cc1666 commit 252eb64a656767730ceef6321443a591728d3e04 @stianeikeland committed Apr 3, 2012
File renamed without changes.
File renamed without changes.
View
@@ -41,16 +41,16 @@ export HISTFILESIZE=16384;
export HISTCONTROL=ignoredups;
-export PATH="/usr/local/bin:$PATH:/opt/local/bin:~/bin:~/bin/ec2/bin:~/bin/gsutil:~/bin/dropbox:/usr/local/cuda/bin:/usr/local/sbin"
+export PATH="/usr/local/bin:$PATH:/opt/local/bin:~/bin:~/bin/ec2/bin:~/bin/gsutil:~/bin/synced:/usr/local/cuda/bin:/usr/local/sbin"
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
-if [ -f ~/Dropbox/dotfiles/bash/aliases.bash ]; then
- . ~/Dropbox/dotfiles/bash/aliases.bash
+if [ -f ~/.bash.aliases ]; then
+ . ~/.bash.aliases
fi
-if [ -f ~/Dropbox/dotfiles/bash/grc.bash ]; then
- . ~/Dropbox/dotfiles/bash/grc.bash
+if [ -f ~/.bash.grc ]; then
+ . ~/.bash.grc
fi
if [ -f `brew --prefix`/etc/bash_completion ]; then
View
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+rsync -av bash/bashrc ~/.bashrc
+rsync -av bash/bash.aliases ~/.bash.aliases
+rsync -av bash/bash.grc ~/.bash.grc
+
+mkdir -p ~/bin/synced/
+rsync -av bin/* ~/bin/synced/
+
+rsync -av .gitconfig .hgrc .screenrc .vimrc ~

0 comments on commit 252eb64

Please sign in to comment.