본문 바로가기
macOS :

맥북 터미널 세팅

by 밍코딩코 2025. 5. 29.

1. oh-my-zsh

 

Oh My Zsh - a delightful & open source framework for Zsh

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with hundresd of helpful functions, plugins, themes, and a few things that make you shout... OH MY ZSH!

ohmyz.sh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

 

터미널에서 위 명령어 실행하여 추가

 

2. iTerm2

 

iTerm2 - macOS Terminal Replacement

iTerm2 by George Nachman. Website by Matthew Freeman, George Nachman, and James A. Rosen. Website updated and optimized by HexBrain

iterm2.com

 

' cmd + , ' 단축키로 Settings 창을 열어 직접 커스텀 가능

 

3. zsh-syntax-highlighting

구문 강조 표시 제공 - 명령어를 색상으로 표시하여 가독성을 높여줌

 

clone

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

 

적용

source ~/.zshrc

 

 

4. Amazon Q

Fig 의 커맨드 자동완성 기능을 이어받은 툴. 

 

설치 

brew install --cask amazon-q

 

응용 프로그램에 추가된 amazon-q 실행하여 AWS 에 접속. 이메일 인증을 통해 AWS Builder ID 를 발급

 

4. zsh-autosuggestions

히스토리 자동 완성

 

추가

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

 

수정

vi ~/.zshrc

 

ctrl + f, ctrl + b로 한단씩 이동 / plugins 찾아서 zsh-autosuggestions 추가

plugins=( 
    # other plugins...
    zsh-autosuggestions
)

i 눌러서 수정 - esc로 나가고  - :wq

 

 

 

 

 

창 분리

가로 : cmd + d / 세로 : cmd + shift + d

 

 

모두 적용된 iTerm2

'macOS :' 카테고리의 다른 글

[DU] Springboot, DBeaver  (1) 2025.05.30
[macOS] 개발환경 세팅  (0) 2025.05.10