우분투 oh-my-zsh 설치

2021. 4. 23. 02:00·Linux

우분투 oh-my-zsh 설치

설치

  • 기본 셸을 zsh로 변경해준다.

    $ chsh -s $(which zsh) # change shell
  • https://github.com/ohmyzsh/ohmyzsh 에 가이드된 명령어를 복사해서 설치한다.

    Method Command
    curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    wget sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    fetch sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

.zshrc

  • ~/.zshrc 파일에서 테마를 지정해줄 수 있다.

    ZSH_THEME="agnoster"
  • 맨 앞에 뜨는 사용자명을 생략하려면 ~/.zshrc 파일 맨 아래에 DEFAULT_USER=유저명을 작성한다.

    • 유저명 보는 법

      $ whoami
      ubun2
  • 터미널에 source ~/.zshrc를 입력하면 적용된다.


agnoster 테마 사용 시 폰트 깨짐

  • 터미널에 다음을 입력

    $ sudo apt install fonts-powerline
  • 재시작하면 폰트가 적용된다.


우분투 VSCode 터미널에서 폰트 깨짐

  • VSCode의 설정(Ctrl + ,)에서 terminal font를 검색하면 Terminal > Intergrated: Font Family가 뜨는데, 거기에 위에서 설치한 'Ubuntu Mono', 'PowerlineSymbols'를 입력한다. (작은 따옴표까지)

  • 재시작하면 폰트가 적용된다.

저작자표시 (새창열림)

'Linux' 카테고리의 다른 글

Solaris 10 ps command 전체 출력  (0) 2022.11.08
VSCode Remote-SSH 플러그인 에러  (0) 2021.04.02
Vim  (0) 2021.03.08
'Linux' 카테고리의 다른 글
  • Solaris 10 ps command 전체 출력
  • VSCode Remote-SSH 플러그인 에러
  • Vim
Caniro
Caniro
  • Caniro
    Minimalism
    Caniro
  • 전체
    오늘
    어제
    • 분류 전체보기 (317)
      • Algorithm (13)
        • 알기 쉬운 알고리즘 (10)
        • Search (1)
        • Sort (2)
      • Arduino (0)
      • C++ (185)
        • Class (46)
        • Exception (6)
        • Library (51)
        • Overloading (10)
        • SmartPointer (5)
        • Syntax (33)
        • TBC++ (23)
        • Templates (9)
        • VisualStudio (2)
      • Embedded (1)
      • Git (4)
      • Java (5)
      • Linux (16)
        • Error (1)
        • Linux Structure (11)
      • MacOS (7)
      • OS (1)
        • Concurrency (1)
      • Python (21)
        • Class (1)
        • Function (2)
        • Syntax (17)
      • Raspberrypi (9)
      • Review (1)
      • Utility (12)
        • VSCode (5)
        • VirtualBox (3)
      • Web (8)
        • Nginx (1)
        • React (3)
        • Django (1)
      • Windows (20)
        • Registry (3)
        • WSL (1)
        • DeviceDriver (6)
  • 블로그 메뉴

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

  • 공지사항

  • 인기 글

  • 태그

    알림
    EXCLUDE
    logi options
    unix
    백기선
    윈도우
    SunOS 5.1
    windows
    KakaoTalk
    spring
    Solaris 10
    그림판
    로지텍 마우스 제스처
    vscode
    SFC
    윈도우 명령어
    시스템 복구
    Workspace
    맥북 카카오톡 알림 안뜸
    스프링 프레임워크 핵심 기술
    java
    citrix workspace
    mspaint
    MacOS
    제외
    스프링
    Windows 11
    dism
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
Caniro
우분투 oh-my-zsh 설치
상단으로

티스토리툴바