summaryrefslogtreecommitdiffstats
path: root/.profile
blob: 9474662e2d1722f3153caef4279f96b3f2971f77 (plain)
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
# $FreeBSD: src/share/skel/dot.profile,v 1.21 2002/07/07 00:00:54 mp Exp $
#
# .profile - Bourne Shell startup script for login shells
#
# see also sh(1), environ(7).
#

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH

# Setting TERM is normally done through /etc/ttys.  Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# Use cons25l1 for iso-* fonts
# TERM=cons25; 	export TERM

#JAVA_HOME="/usr/local/jdk1.5.0"; export JAVA_HOME
#MAVEN_HOME="/usr/local/share/java/maven"; export MAVEN_HOME

BLOCKSIZE=K;	export BLOCKSIZE
EDITOR=vim;   	export EDITOR
PAGER="less -R";  	export PAGER

# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV

PS1="`whoami`@`hostname | sed 's/\..*//'`"
case `id -u` in
    0) PS1="${PS1}# ";;
    *) PS1="${PS1}$ ";;
esac

#alias ls="ls -G"
alias ls="ls --color=auto"
alias xterm_="xterm -rv +sb -ls"
alias q3="quake3-smp"
#alias scipy = "ipython -pylab"
alias chromium="chromium-browser"
alias vbox="VBOX_USB=USBFS VirtualBox"

# arm-gcc codesourcery stuff
PATH=$PATH:$HOME/leaf/bin/arm-gcc-codesourcery/bin; export PATH

alias o3="cd ~/code/o3-env; source bin/activate; cd ~/code/o3-env/src/o3/o3"
alias tdb="cd ~/code/thriftdb-env; source bin/activate; cd ~/code/thriftdb-env/src/thriftdb"
alias o2="cd ~/code/o2-env; source bin/activate; cd ~/code/o2-env/src/o2/o2"
alias pe="cd ~/code/pdfextract; source bin/activate; cd src"

alias aws="read -s AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY && export AWS_ACCESS_KEY && export AWS_SECRET_ACCESS_KEY"

alias start_thriftdb="/var/lib/thriftdb-index/tomcat/thriftdb__development/bin/startup.sh"