Updated profile to avoid 'not a tty' message
This commit is contained in:
parent
f5acb61fb2
commit
3cdf41599c
2 changed files with 8 additions and 3 deletions
9
profile
9
profile
|
@ -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
2
vimrc
|
@ -27,3 +27,5 @@ autocmd FileType make set noexpandtab
|
|||
|
||||
set term=xterm
|
||||
|
||||
let java_allow_cpp_keywords = 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue