Ubuntu Prompt 변경
나같은 경우는 프롬프트 창 맨처음 표시되는 host,user 명이 너무 길어서 짧게 줄였다.
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[ubuntu16043]\[\033[01;32m\]\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '(기존코드)
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
# PS1='"ubuntu"\u@\h:\w\$ '
fi
https://hackcatml.tistory.com/8
Ubuntu Prompt 깔끔하게 변경하기
Ubuntu의 Default Prompt 는 밋밋한 흰색 단색이라 조금 아쉽습니다. 중요치는 않지만 그래도 같은 값이면 다홍치마라고 시간 얼마 걸리지도 않으니 Prompt를 변경해보겠습니다. 우선 echo $TERM 명령어로
hackcatml.tistory.com
https://hanliang38.tistory.com/14?category=902302
Ubuntu > 컴퓨터 이름, 터미널 프롬프트 변경하기
우분투 터미널에서 작업하다보니 프롬프트가 너무 길어져서 작업하는데에 불편함이 많았다. 그래서 프롬프트를 변경하는 작업을 해주었다. 하고 나니 훨씬 깔끔해진다. 혹시 만약을 위해 (잘못
hanliang38.tistory.com