Notice
Recent Posts
Recent Comments
08-25 01:31
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Archives
Today
Total
관리 메뉴

YESHTML5

Mac 터미널 환경 이쁘게 만들어보자. 본문

Setup,Util

Mac 터미널 환경 이쁘게 만들어보자.

슬/도/아/밤/ 2018. 12. 18. 11:28
반응형

oh-my-zsh 테마설정 (alias, agnoster 멀티라인, 사용자명 숨김처리)

oh-my-zsh 프롬프트에 기본으로 표시되는 사용자 이름 삭제하기

*vi ~/.zshrc 에서 *가장마지막에 추가

prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)$USER"
fi
}

agnoster 테마 및 멀티라인 적용하기

테마 : agnoster 폰트 : Powerline-patched font 설치이후

Meslo LG S Regular for Powerline

참고사이트 https://gist.github.com/agnoster/3712874

폰트설치 : https://github.com/powerline/fonts

참고사이트 https://wayhome25.github.io/etc/2017/03/12/zsh-alias/ ,

https://beomi.github.io/2017/07/07/Beautify-ZSH/

반응형
Comments