ZSH 프롬프트 가상환경 보이게 설정
·
카테고리 없음
`~/.zshrc` 에 추가 zsh_virtualenv_prompt() { # If not in a virtualenv, print nothing [[ "$VIRTUAL_ENV" == "" ]] && return # Distinguish between the shell where the virtualenv was activated # and its children local venv_name="${VIRTUAL_ENV##*/}" if typeset -f deactivate >/dev/null; then echo "[%F{green}${venv_name}%f] " else echo " " fi}setopt PROMPT_SUBST PROMP..
Zsh + Prezto + Nerd Font 설정
·
카테고리 없음
관련 포스팅Prezto + zplug로 플러그인 관리하기  ZSH`zsh`은 디폴트 shell인 `bash`를 확장하여 개발한 shell로 자동 완성, 다양한 플러그인 등을 지원한다. 설치sudo apt install zsh  실행`.zshrc` 파일을 생성해준다.zsh shell 변경chsh -s $(which zsh) 사용중인 shell 확인echo $SHELL   Prezto`oh-my-zsh`를 대체할만한 ZSH의 프레임워크이다. GitHub - sorin-ionescu/prezto: The configuration framework for ZshThe configuration framework for Zsh. Contribute to sorin-ionescu/prezto development b..