diff --git a/bash_profile b/bash_profile index 91ff14b..23fb95f 100644 --- a/bash_profile +++ b/bash_profile @@ -94,11 +94,12 @@ update(){ } save_dotfiles(){ - cp ~/.bash_profile ~/Documents/Code/Github/.dotfiles/bash_profile - cp ~/.ghci ~/Documents/Code/Github/.dotfiles/ghci - cp ~/.gitignore ~/Documents/Code/Github/.dotfiles/gitignore - cp ~/.gitconfig ~/Documents/Code/Github/.dotfiles/gitconfig - cp ~/.pythonrc ~/Documents/Code/Github/.dotfiles/pythonrc - cp ~/.vimrc ~/Documents/Code/Github/.dotfiles/vimrc - cp ~/.zshrc ~/Documents/Code/Github/.dotfiles/zshrc + local DOTPATH=~/Documents/Code/Github/development/.dotfiles/ + cp ~/.bash_profile ${DOTPATH}bash_profile + cp ~/.ghci ${DOTPATH}ghci + cp ~/.gitignore ${DOTPATH}gitignore + cp ~/.gitconfig ${DOTPATH}gitconfig + cp ~/.pythonrc ${DOTPATH}pythonrc + cp ~/.vimrc ${DOTPATH}vimrc + cp ~/.zshrc ${DOTPATH}zshrc } diff --git a/zshrc b/zshrc index 31f08e3..6630a13 100644 --- a/zshrc +++ b/zshrc @@ -25,11 +25,11 @@ alias g++="g++-mp-4.9" alias qmake4="/opt/local/bin/qmake" alias qmake="/usr/local/Qt-5.3.0/bin/qmake" alias python="python3.3" -alias cdtan="cd ~/Documents/Code/Github/Detanglement/src" -alias cdpy="cd ~/Documents/Code/Github/AudioPython" +alias cdtan="cd ~/Documents/Code/Github/development/Detanglement/src" +alias cdpy="cd ~/Documents/Code/Github/development/AudioPython" alias cdpc="cd ~/Documents/Code/PrivCode/" alias cdl="cd ~/Documents/Code/LiveCodingEditor" -alias cdg="cd ~/Documents/Code/Github" +alias cdg="cd ~/Documents/Code/Github/development" alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl" alias dud="du -d 1" alias loc="cloc *" @@ -104,13 +104,14 @@ pinfo(){ } save_dotfiles(){ - cp ~/.bash_profile ~/Documents/Code/Github/.dotfiles/bash_profile - cp ~/.ghci ~/Documents/Code/Github/.dotfiles/ghci - cp ~/.gitignore ~/Documents/Code/Github/.dotfiles/gitignore - cp ~/.gitconfig ~/Documents/Code/Github/.dotfiles/gitconfig - cp ~/.pythonrc ~/Documents/Code/Github/.dotfiles/pythonrc - cp ~/.vimrc ~/Documents/Code/Github/.dotfiles/vimrc - cp ~/.zshrc ~/Documents/Code/Github/.dotfiles/zshrc + local DOTPATH=~/Documents/Code/Github/development/.dotfiles/ + cp ~/.bash_profile ${DOTPATH}bash_profile + cp ~/.ghci ${DOTPATH}ghci + cp ~/.gitignore ${DOTPATH}gitignore + cp ~/.gitconfig ${DOTPATH}gitconfig + cp ~/.pythonrc ${DOTPATH}pythonrc + cp ~/.vimrc ${DOTPATH}vimrc + cp ~/.zshrc ${DOTPATH}zshrc } upgrade () {