Spring Boot/환경설정

iterm2 설정하기

sendkite 2024. 11. 12. 23:10

 

Item2 설치하기 : https://iterm2.com/

oh-my-zsh 설치하기 : https://ohmyz.sh/#install 

oh-my-zsh 테마 변경 : https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

터미널 컬러 프리셋 설치 : https://github.com/wesbos/Cobalt2-iterm

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

oh-my-zsh 플러그인 설치 

- 터미널 명령어 자동완성

- 명령어 컬러 하이라이트 

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

 

색상 적용 / 폰트 적용 (cmd + ,) profile -> text font랑 colors 프리셋 변경 

font 적용

 

zshrc 플러그인 스크립트 추가

zshrc 파일

zshrc 터미널 이모지 적용 스크립트 추가

prompt_context() {
# Custom (Random emoji)
  emojis=("🔥" "🐻" "💛" "🔥" "🦊" "🦋" "🌈" "🍻" "🚀" "🦊" "🌙")
  RAND_EMOJI_N=$(( $RANDOM % ${#emojis[@]} + 1))
  prompt_segment black default “sendkite ${emojis[$RAND_EMOJI_N]} "
}

 

 

반응형