Updated profile to avoid 'not a tty' message

This commit is contained in:
Nicole Tietz-Sokolskaya 2012-04-21 19:13:09 -04:00
parent f5acb61fb2
commit 3cdf41599c
2 changed files with 8 additions and 3 deletions

View file

@ -40,11 +40,14 @@ export HISTFILESIZE=1000
export HISTCONTROL=ignoredups
# disable messaging
mesg n
if `tty -s`; then
mesg n
fi
# set the path for Hadoop
export HADOOP_HOME=~/hadoop/hadoop-0.20.2/
export PATH=$PATH:$HADOOP_HOME/bin
export HADOOP=~/hadoop
export PATH=$PATH:$HADOOP/bin
export JAVA_HOME=/usr
# add the rubygem location
export PATH=$PATH:/var/lib/gems/1.8/bin/

2
vimrc
View file

@ -27,3 +27,5 @@ autocmd FileType make set noexpandtab
set term=xterm
let java_allow_cpp_keywords = 1