-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
71 lines (49 loc) · 2.1 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
export PATH=$HOME/bin:/usr/local/bin:$PATH
export VERSIONER_PYTHON_PREFER_32_BIT=yes
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# export HISTCONTROL=ignoredups
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
# the prompt information
export PS1="[\w]\$ "
# leave some commands out of history log
export HISTIGNORE="&:??:[ ]*:clear:exit:logout"
# default editor
export EDITOR=emacs
# define color to additional file types
export LS_COLORS=$LS_COLORS:"*.wmv=01;35":"*.wma=01;35":"*.flv=01;35":"*.m4a=01;35"
# Alias definitions.
# user-defined aliases
alias rm='rm -vi'
alias cp='cp -vi'
alias mv='mv -vi'
alias clean='rm -f "#"* "."*~ *~ *.bak *.dvi *.aux *.log'
alias nano='nano -w'
alias psi='ps h -eo pmem,comm | sort -nr | head'
alias _sb='source ~/.bashrc'
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
#PATH=/usr/local/share/python:$PATH
#PATH=/usr/local/opt/python/bin:$PATH
PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH
export ARCHFLAGS="-arch i386 -arch x86_64"
#alias multibit='ssh -X [email protected] "cd exe/multibit-0.5.15; java -jar multibit-exe.jar"'
alias multibit='ssh -X [email protected] "cd exe/MultiBit-0.5.16; java -jar multibit-exe.jar"'
export PATH=/usr/local/smlnj/bin:$PATH
export PATH=~/Documents/Programming/scala/scala/bin:$PATH
#alias emacs=/usr/local/Cellar/emacs/HEAD/Emacs.app/Contents/MacOS/Emacs
alias emacs=/Applications/Emacs.app/Contents/MacOS/Emacs
export VPS_SERVER=li2-168.members.linode.com
export PATH=~/bin:$PATH