ubuntu에 zsh + OhMyZSH

2023. 8. 4. 01:44·개발 환경

글꼴 설치

폰트 설치 후 윈도우 설정에서 글꼴 추가

 

GitHub - romkatv/powerlevel10k: A Zsh theme

A Zsh theme. Contribute to romkatv/powerlevel10k development by creating an account on GitHub.

github.com


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 several helpful functions, helpers, plugins, themes, and a few things that make you shout... OH MY ZSH!

ohmyz.sh

sudo apt install zsh

아래 문장을 터미널에서 실행

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

테마 설치

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

설치가 완료되면 ~/.zshrc 파일의 11번째 문장을 아래 문장으로 바꿔주자.

ZSH_THEME="powerlevel10k/powerlevel10k"

저장한 뒤 iTerm에서 다음 명령을 실행

source ~/.zshrc

플러그인 설치

zsh-autosuggestions

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

.zshrc 파일 수정은 뒤에서 일괄적으로 진행

zsh-syntax-highlighting

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

.zshrc 파일 수정은 뒤에서 일괄적으로 진행

.zshrc 파일 수정

vim 에서 /plugin 명령으로 위치 찾아서 아래 문장으로 수정

plugins=(git zsh-autosuggestions zsh-syntax-highlighting web-search)

 

📍 vs code에서 zsh 터미널을 사용하려면 settings.json 파일에 아래 문장을 추가해줘야 한다.
"terminal.integrated.fontFamily": "MesloLGS NF"
설정 글꼴 제일 앞쪽에 Menlo 추가
저작자표시 (새창열림)

'개발 환경' 카테고리의 다른 글

[Linux, Ubuntu] neovim 설치 및 설정  (0) 2024.05.03
yabai, skhd 설치 및 설정  (0) 2023.08.11
alias 설정  (0) 2023.08.04
neovim 설치 및 설정  (0) 2023.08.03
iTerm/zsh 설치 및 플러그인 (homebrew)  (0) 2023.08.03
'개발 환경' 카테고리의 다른 글
  • [Linux, Ubuntu] neovim 설치 및 설정
  • yabai, skhd 설치 및 설정
  • alias 설정
  • neovim 설치 및 설정
Study with Me!
Study with Me!
Study with Me!
  • Study with Me!
    Seongmo
    Study with Me!
  • 전체
    오늘
    어제
    • Computer (136)
      • Computer Science (61)
        • Data Structure (51)
        • Algorithm (6)
        • 선형대수 with C++ (4)
      • Arm Architecture (1)
        • Register (0)
        • Assembly Instruction (1)
      • Linux (32)
        • Linux Kernel (4)
        • 라이브러리 함수 구현하기 (0)
        • 쉘, 쉘 명령어 구현하기 (15)
        • Ubuntu (13)
      • Cloud Infrastructure (8)
        • Kubernetes (7)
        • OpenStack Magnum (1)
      • AWS (3)
      • Baekjoon (18)
      • Tools (6)
        • Git & Github (5)
        • Vim (1)
      • 개발 환경 (7)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    STL
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
Study with Me!
ubuntu에 zsh + OhMyZSH
상단으로

티스토리툴바