summaryrefslogtreecommitdiffstats
path: root/.profile
blob: 52b57f36dfc34b6755bace86559e99602705ae4b (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
52
53
54
55
56
57
58
59
60
61
62
# $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/code/libmaple/arm/bin:$HOME/src/arm-elf/bin; export PATH
#PATH=$PATH:$HOME/src/arm-none-eabi/bin:$HOME/src/arm-elf/bin; export PATH
PATH=$PATH:$HOME/bin/arm-none-eabi/bin; export PATH

alias xilinxenv="source /opt/Xilinx/14.3/ISE_DS/settings64.sh; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/libusb-driver.so"
alias xilinxenv147="source /opt/Xilinx/14.7/ISE_DS/settings64.sh; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/libusb-driver.so"
alias vivadoenv="source /opt/Xilinx/Vivado/2013.3/settings64.sh; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/libusb-driver.so"
alias adelie="mosh adelie -- screen -x"
alias ack=ack-grep
alias gmake=make

alias latticeenv="export PATH=$PATH:/usr/local/diamond/2.2_x64/bin/lin64; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/diamond/2.2_x64/bin/lin64"
alias latticeprogenv="export PATH=$PATH:/usr/local/programmer/3.0_x64/bin/lin64; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/programmer/3.0_x64/bin/lin64"

alias robomail="alpine -p .pinerc.robocracy"

export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin

export BREATHE_HOME="/home/bnewbold/src/breathe/"
export LIB_MAPLE_HOME="/home/bnewbold/src/libmaple/"