-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
34 lines (29 loc) · 953 Bytes
/
bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
LICOLOR="YES"; export CLICOLOR
LSCOLORS="ExGxFxdxCxDxDxhbadExExEx"; export LSCOLOR
source /usr/local/gromacs/bin/GMXRC.bash
source ~/scripts/git-completion.bash
source ~/scripts/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='[\h] \w\n$(__git_ps1 "(%s)")$ '
export PATH="//anaconda/bin:$PATH"
# remote machines
export [email protected]
alias remote='ssh [email protected]'
# aliases
alias xmgrace='xmgrace -free'
alias vi='vim'
alias vip='vi -p'
alias lspy='ls -l | grep py'
alias vmd='/Applications/VMD\ 1.9.1.app/Contents/MacOS/startup.command'
alias preview='open -a Preview'
alias rscp='rsync -avzhe ssh --progress'
alias rm='rmtrash' # brew install rmtrash
alias diff='colordiff' # brew install colordiff
# environment variables
export MP_EDITOR='/usr/bin/vim'
# script from http://onethingwell.org/post/586977440/mkcd-improved
# make a directory and immediately change to it
mkcd () {
mkdir -p "$*"
cd "$*"
}