-
[2023/03/10] 맥 세팅하기장비설정 등등 2023. 3. 10. 01:26반응형
1. iTerm2 설치 - 맥 터미널 앱
- 사이트에서 직접 다운받을 수 있음 [주소]
2. homebrew 설치 - 맥 전용 패키지 관리자
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3. zsh 설치
brew install zsh
4. oh my zsh 설치
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
5. ohmeyzsh 테마 변경
Themes
🙃 A delightful community-driven (with 2,100+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...
github.com
- 저는 주로 agnoster를 사용합니다.
vi ~/.zshrc
robbyrussell -> agnoster 변경 # vi 에디터 저장 및 종료 :qw # 변경사항 반영 source ~/.zshrc
6. agnoster 테마 폰트 깨짐 해결
agnoster로 변경하면 폰트 깨짐 - D2 폰트 설치 [링크]
- spotlite에서 서체관리자 검색 (command + 스페이스)
- 현재 사용자에 서체 추가
- D2Coding 추가 확인
D2Coding 검색 - iterm 실행
- settlings -> Profiles -> Font > D2Coding으로 변경
완료 7. agnoster 테마 화살표 색 변경
- iterm 실행
- settlings -> Profiles -> Color > Blue 변경 (869bff)
8. iTerm2 컴퓨터 이름 제거 (@~MacBook~)
vi ~/.zshrc # 명령모드에서 G로 .zshrc의 맨아래행 이동 후 아래 코드 입력 prompt_context() { if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then prompt_segment black default "%(!.%{%F{yellow}%}.)$USER" fi }
iterm을 재실행하면 제거됨
9. 선택한 영역 스크린샷
맥에서는 command + shift + 4를 눌러 스크린샷을 찍는다. command + shift + control + 4로 컨트롤키 하나를 더 추가하면, 클립보드에 이미지가 추가되어 ctrl+v로 붙여넣을 수 있는데, 이상하게 잘 작동하지 않는다.
그래서 두개를 바꿔서 등록한다. 생각보다 선택한 영역의 그림을 파일로 저장을 거의 사용하지 않는다.
- 설정> 키보드 > 키보드 단축키 > 스크린샷 > 선택한 영역의 그림을 클립보드에 복사
반응형'장비설정 등등' 카테고리의 다른 글
맥북(mac) 기본 메모앱 설정 (0) 2025.01.21 [2023/03/14] Mac zsh에서 VSCode 코틀린 개발환경 세팅하기 (2) 2023.03.15