Added an update script
This commit is contained in:
12
zshrc
12
zshrc
@@ -18,7 +18,7 @@ bindkey -e
|
||||
export PATH=$PATH:/opt/local/bin:/usr/local/lib/io:~/.cabal/bin
|
||||
export MANPATH=$MANPATH:/opt/local/share/man
|
||||
export INFOPATH=$INFOPATH:/opt/local/share/info
|
||||
export PYTHONSARTUP=~/.pythonrc
|
||||
export PYTHONSTARTUP=~/.pythonrc
|
||||
export TERM=rxvt
|
||||
alias gcc="gcc-mp-4.9"
|
||||
alias g++="g++-mp-4.9"
|
||||
@@ -126,3 +126,13 @@ update(){
|
||||
sudo port upgrade outdated &> /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user