소스 검색

add timestamp to prompt

Dave Lens 12 년 전
부모
커밋
97c0ebfa71
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .bash/prompt

+ 1 - 1
.bash/prompt

@@ -70,7 +70,7 @@ rewrite_prompt()
 	[ $UID -eq "0" ] && UC=$R   # root's color
 
 	# rewrite prompt
-	PS1="${G}\u@\h> \${NEW_PWD} ${C}\$(git_branch)\${NONE}${NONE}\n$ "
+	PS1="[\\t] ${G}\u@\h> \${NEW_PWD} ${C}\$(git_branch)\${NONE}${NONE}\n$ "
 }
 
 # adds ~/.ssh/config to the ssh autocomplete