Created
January 5, 2012 01:08
-
-
Save ramhiser/1563158 to your computer and use it in GitHub Desktop.
My .bash_profile File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
# Creates symbolic links from various subfolders in ~/Dropbox/ to ~/ | |
# This allows for a more consistent structure across my many computers. | |
if [ ! -L ~/scripts ]; then | |
ln -s ~/Dropbox/scripts/ ~/scripts | |
fi | |
if [ ! -L ~/Rpackages ]; then | |
ln -s ~/Dropbox/Rpackages/ ~/Rpackages | |
fi | |
if [ ! -L ~/projects ]; then | |
ln -s ~/Dropbox/projects/ ~/projects | |
fi | |
if [ ! -L ~/papers ]; then | |
ln -s ~/Dropbox/papers/ ~/papers | |
fi | |
if [ ! -L ~/blog ]; then | |
ln -s ~/Dropbox/blog/ ~/blog | |
fi | |
if [ ! -L ~/todo ]; then | |
ln -s ~/Dropbox/todo/ ~/todo | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment