Updated save_dotfiles function

This commit is contained in:
Veit Heller
2014-07-20 21:26:42 +02:00
parent d35ef9692a
commit 5ab0c74f34
2 changed files with 19 additions and 17 deletions

View File

@@ -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
}