Updated save_dotfiles function
This commit is contained in:
15
bash_profile
15
bash_profile
@@ -94,11 +94,12 @@ update(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
save_dotfiles(){
|
save_dotfiles(){
|
||||||
cp ~/.bash_profile ~/Documents/Code/Github/.dotfiles/bash_profile
|
local DOTPATH=~/Documents/Code/Github/development/.dotfiles/
|
||||||
cp ~/.ghci ~/Documents/Code/Github/.dotfiles/ghci
|
cp ~/.bash_profile ${DOTPATH}bash_profile
|
||||||
cp ~/.gitignore ~/Documents/Code/Github/.dotfiles/gitignore
|
cp ~/.ghci ${DOTPATH}ghci
|
||||||
cp ~/.gitconfig ~/Documents/Code/Github/.dotfiles/gitconfig
|
cp ~/.gitignore ${DOTPATH}gitignore
|
||||||
cp ~/.pythonrc ~/Documents/Code/Github/.dotfiles/pythonrc
|
cp ~/.gitconfig ${DOTPATH}gitconfig
|
||||||
cp ~/.vimrc ~/Documents/Code/Github/.dotfiles/vimrc
|
cp ~/.pythonrc ${DOTPATH}pythonrc
|
||||||
cp ~/.zshrc ~/Documents/Code/Github/.dotfiles/zshrc
|
cp ~/.vimrc ${DOTPATH}vimrc
|
||||||
|
cp ~/.zshrc ${DOTPATH}zshrc
|
||||||
}
|
}
|
||||||
|
21
zshrc
21
zshrc
@@ -25,11 +25,11 @@ alias g++="g++-mp-4.9"
|
|||||||
alias qmake4="/opt/local/bin/qmake"
|
alias qmake4="/opt/local/bin/qmake"
|
||||||
alias qmake="/usr/local/Qt-5.3.0/bin/qmake"
|
alias qmake="/usr/local/Qt-5.3.0/bin/qmake"
|
||||||
alias python="python3.3"
|
alias python="python3.3"
|
||||||
alias cdtan="cd ~/Documents/Code/Github/Detanglement/src"
|
alias cdtan="cd ~/Documents/Code/Github/development/Detanglement/src"
|
||||||
alias cdpy="cd ~/Documents/Code/Github/AudioPython"
|
alias cdpy="cd ~/Documents/Code/Github/development/AudioPython"
|
||||||
alias cdpc="cd ~/Documents/Code/PrivCode/"
|
alias cdpc="cd ~/Documents/Code/PrivCode/"
|
||||||
alias cdl="cd ~/Documents/Code/LiveCodingEditor"
|
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 emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
||||||
alias dud="du -d 1"
|
alias dud="du -d 1"
|
||||||
alias loc="cloc *"
|
alias loc="cloc *"
|
||||||
@@ -104,13 +104,14 @@ pinfo(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
save_dotfiles(){
|
save_dotfiles(){
|
||||||
cp ~/.bash_profile ~/Documents/Code/Github/.dotfiles/bash_profile
|
local DOTPATH=~/Documents/Code/Github/development/.dotfiles/
|
||||||
cp ~/.ghci ~/Documents/Code/Github/.dotfiles/ghci
|
cp ~/.bash_profile ${DOTPATH}bash_profile
|
||||||
cp ~/.gitignore ~/Documents/Code/Github/.dotfiles/gitignore
|
cp ~/.ghci ${DOTPATH}ghci
|
||||||
cp ~/.gitconfig ~/Documents/Code/Github/.dotfiles/gitconfig
|
cp ~/.gitignore ${DOTPATH}gitignore
|
||||||
cp ~/.pythonrc ~/Documents/Code/Github/.dotfiles/pythonrc
|
cp ~/.gitconfig ${DOTPATH}gitconfig
|
||||||
cp ~/.vimrc ~/Documents/Code/Github/.dotfiles/vimrc
|
cp ~/.pythonrc ${DOTPATH}pythonrc
|
||||||
cp ~/.zshrc ~/Documents/Code/Github/.dotfiles/zshrc
|
cp ~/.vimrc ${DOTPATH}vimrc
|
||||||
|
cp ~/.zshrc ${DOTPATH}zshrc
|
||||||
}
|
}
|
||||||
|
|
||||||
upgrade () {
|
upgrade () {
|
||||||
|
Reference in New Issue
Block a user