소스 검색

set title for terminal

pull/1/head
10sr 12 년 전
부모
커밋
b396b5f8c1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      bashrc

+ 2
- 0
bashrc 파일 보기

@@ -452,6 +452,8 @@ __my_prompt_function(){ # used by PS1
printf "${c2}${USER}@${HOSTNAME}${cdef} ${tty} ${date} ${BASH} ${BASH_VERSION}\n"
printf "shlv:${SHLVL} jobs:${jobnum} last:${lastreturn} "

TERMTITLE="${USER}@${HOSTNAME} ${PWD}"
test -n "$DISPLAY" && echo -n -e "\033]0;${TERMTITLE}\007"
}

# from https://wiki.archlinux.org/index.php/X_resources


불러오는 중...
취소
저장