사용자 도구

사이트 도구


linux:powerline

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:powerline [2013/09/09 10:01]
kwon37xi [설치]
linux:powerline [2020/06/06 23:37] (현재)
kwon37xi [Powerline]
줄 2: 줄 2:
   * [[https://github.com/Lokaltog/powerline|powerline]]   * [[https://github.com/Lokaltog/powerline|powerline]]
   * [[https://powerline.readthedocs.org/en/latest/index.html|Powerline Documentation]]   * [[https://powerline.readthedocs.org/en/latest/index.html|Powerline Documentation]]
 +  * [[https://github.com/kwon37xi/nanumgothiccoding-for-powerline|나눔고딕코딩 for Powerline]]
   * [[https://github.com/Lokaltog/powerline-fonts|Powerline fonts]] 파워라인용으로 패치된 오픈소스 글꼴.<code sh>   * [[https://github.com/Lokaltog/powerline-fonts|Powerline fonts]] 파워라인용으로 패치된 오픈소스 글꼴.<code sh>
 +
 +# Debian/Ubuntu
 +sudo apt-get install fonts-powerline
 +
 # 글꼴 설치 후 # 글꼴 설치 후
 fc-cache -vf ~/.fonts fc-cache -vf ~/.fonts
줄 8: 줄 13:
  
 ===== 설치 ===== ===== 설치 =====
-  * Python이 필요하다. +  * Python PIP가 필요하다.<code sh> 
-<code sh>+sudo apt-get install python-pip 
 +sudo apt-get install libc6-devS
 pip install --user git+git://github.com/Lokaltog/powerline pip install --user git+git://github.com/Lokaltog/powerline
-# $HOME/.local/lib/python-버전/... 에 설치됨+# $HOME/.local/lib/python-버전/site-packages/powerline 에 설치됨
 </code> </code>
   * 설정<code sh>   * 설정<code sh>
 mkdir ~/.config/powerline mkdir ~/.config/powerline
-cp -R /path/to/powerline/config_files/* ~/.config/powerline+cp -R ~/.local/lib/python2.7/site-packages/powerline/config_files/* ~/.config/powerline
 </code> </code>
-    * ''config.json''에서 ''shell -> theme''를 **default_leftonly**로 변경해야한다.+
 ===== Bash ===== ===== Bash =====
   * powerline 설치 경로중 ''bin'' 디렉토리가 ''PATH''에 들어가야 한다.(보통은 ''~/.local/bin'')   * powerline 설치 경로중 ''bin'' 디렉토리가 ''PATH''에 들어가야 한다.(보통은 ''~/.local/bin'')
-  * Git 브랜치를 보려면 ''default_leftonly'' 테마를 사용해야다.+  * ''~/.config/powerline/config.json''에서 ''shell -> theme''를 **default_leftonly**로 변경해야 git 등의 브랜치 이름이 보인다.
   * ''~/.bashrc''<code sh>   * ''~/.bashrc''<code sh>
 +
 +export PATH=${PATH}:${HOME}/.local/bin
 # 경로는 powerline을 설치한 곳으로 적절히 변경 # 경로는 powerline을 설치한 곳으로 적절히 변경
 # 기존 PS1 관련 설정은 삭제 # 기존 PS1 관련 설정은 삭제
 source $HOME/.local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh source $HOME/.local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh
 </code> </code>
 +
 ==== Vim ==== ==== Vim ====
 <code vim> <code vim>
linux/powerline.1378688507.txt.gz · 마지막으로 수정됨: 2013/09/09 10:01 저자 kwon37xi