-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
32 lines (24 loc) · 886 Bytes
/
.bash_profile
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
## Making less a bit nicer
alias more='less'
export PAGER='less -s'
## Aliases
alias ls='ls --color=auto -FhxlvA'
alias la='ls -a'
alias rm='rm -i'
alias path='echo -e ${PATH//:/\\n}'
alias du='du -h'
alias df='df -Th'
alias ipynb='ipython notebook --pylab=inline --port=5555 --ip=* --pprint --pylab --no-browser'
alias R='R --quiet --no-save --no-restore'
alias e='emacsclient -t --alternate-editor=emacs'
export EDITOR='emacsclient --alternate-editor=emacs'
export VISUAL='emacsclient --alternate-editor=emacs'
export PYTHONSTARTUP=$HOME/.pythonrc
export PS1='\t \[\e[0;31m\]\u\[\e[0m\]\[\e[1;31m\]@\[\e[0m\]\[\e[0;31m\]\H\[\e[0m\] \w \n $ '
xmodmap ~/.xmodmap 2>/dev/null
export GREP_OPTIONS="--exclude-dir='.git' -I --color=auto --exclude=*pyc"
umask 0077
function psldd {
cat /proc/$1/maps | fgrep ".so" | awk '{print $6}' | sort -u
}
alias tetris='emacs -Q -f tetris'