Update
git-svn-id: http://photonzero.com/dotfiles/trunk@81 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
0ad6077023
commit
532e676884
5 changed files with 66 additions and 35 deletions
23
.bashrc
23
.bashrc
|
|
@ -5,6 +5,21 @@
|
|||
# If not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
BLOCKSIZE=K; export BLOCKSIZE
|
||||
EDITOR=vim; export EDITOR
|
||||
PAGER=less; export PAGER
|
||||
|
||||
# set ENV to a file invoked each time sh is started for interactive use.
|
||||
ENV=$HOME/.bashrc; export ENV
|
||||
|
||||
MAILPATH=/var/spool/mail/$USER
|
||||
for i in ~/mail/*
|
||||
do
|
||||
MAILPATH=$MAILPATH:$i'?You have new mail in your ${_##*/} folder'
|
||||
done
|
||||
export MAILPATH
|
||||
unset i
|
||||
|
||||
# don't put duplicate lines in the history. See bash(1) for more options
|
||||
export HISTCONTROL=ignoredups
|
||||
|
||||
|
|
@ -22,6 +37,8 @@ fi
|
|||
|
||||
|
||||
PERL5LIB=$HOME/local/lib64/perl5/site_perl/5.8.8/
|
||||
|
||||
#Go Language stuff
|
||||
export GOROOT=$HOME/local/go
|
||||
export GOARCH=amd64
|
||||
export GOOS=linux
|
||||
|
|
@ -33,7 +50,9 @@ FreeBSD)
|
|||
export GOOS=freebsd
|
||||
;;
|
||||
esac
|
||||
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
|
||||
#case "$TERM" in
|
||||
#xterm-color)
|
||||
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
|
|
@ -100,6 +119,10 @@ if [ -f /etc/bash_completion ]; then
|
|||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
if [ -f ~/.bash_google ]; then
|
||||
. ~/.bash_google
|
||||
fi
|
||||
|
||||
if [ -n "`which fortune`" ]; then
|
||||
fortune
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue