From 0600fb30290e6191c5b19c73c2c39fb5dfff0b3f Mon Sep 17 00:00:00 2001 From: 10sr Date: Thu, 15 Sep 2011 23:58:25 +0900 Subject: [PATCH] use USER instead of USERNAME --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index fd7f39e..06ccd1f 100755 --- a/.bashrc +++ b/.bashrc @@ -113,7 +113,7 @@ prompt_function(){ # used by PS1 type __git_ps1 >/dev/null 2>&1 && local gitb=$(__git_ps1 GIT:%s) type git >/dev/null 2>&1 && local git="[${gitb}]" printf " [${c1}${pwd}${cdef}]${git}\n" - printf "${c2}${USERNAME}@${HOSTNAME}${cdef} ${date} ${BASH} ${BASH_VERSION}\n" + printf "${c2}${USER}@${HOSTNAME}${cdef} ${date} ${BASH} ${BASH_VERSION}\n" printf "jobs:${jobnum} last:${lastreturn} " }