Closed ellyheetov closed 3 years ago
vi ~/.zshrc를 입력해 zsh 설정파일을 열기
이후 아래 내용을 .zshrc 맨 아래 부분에 추가하기
prompt_context() { if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then prompt_segment black default "%(!.%{%F{yellow}%}.)$USER" fi }
추가한 후 적용하기
source ~/.zshrc
드디어 예쁜 터미널 완성!!!
vi ~/.zshrc를 입력해 zsh 설정파일을 열기
이후 아래 내용을 .zshrc 맨 아래 부분에 추가하기
추가한 후 적용하기