차이

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

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
tech:zsh [2024/05/02 16:14] V_Ltech:zsh [2024/05/26 13:26] (현재) V_L
줄 15: 줄 15:
   sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"   sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  
-  nano ~/.zshrc + 
-설정+====사용설정==== 
 + 
 +  chsh -s /bin/zsh 
 +기본쉘을 zsh로 변경 
 =====단축명령어===== =====단축명령어=====
 +    nano ~/.zshrc
 +
 +
 ''nano ~/.zshrc'' 할 때 ''nano ~/.zshrc'' 할 때
  
줄 25: 줄 32:
  
 맨 마지막에 추가 맨 마지막에 추가
-====사용==== 
  
-  chsh -s /bin/zsh 
-기본쉘을 zsh로 변경 
  
 +=====단축키=====
 +
 +자주 사용하는 명령어
 +^shorcut^Action^
 +|CTRL + A|라인 맨 앞으로 이동|
 +|CTRL + E (end-of-line)|라인 맨 끝으로 이동|
 +|CTRL + 좌우방향키|단어 단위로 이동|
 +|CTRL + U|라인 전체 삭제 (라인시작~커서위치)|
 +|CTRL + K ( kill-line)|라인 전체 삭제 (커서위치~라인 끝)|
 +|CTRL + W|커서 앞 단어 삭제|
 +|CTRL + R|이력 검색 (CTRL + G : 종료)|
 +|CTRL + _|실행취소|
 +=====플러긴=====
 +
 +  git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
 +  git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
 +
 +  nano ~/.zshrc
 +<file>
 +# Which plugins would you like to load?
 +# Standard plugins can be found in $ZSH/plugins/
 +# Custom plugins may be added to $ZSH_CUSTOM/plugins/
 +# Example format: plugins=(rails git textmate ruby lighthouse)
 +# Add wisely, as too many plugins slow down shell startup.
 +plugins=(git
 +zsh-syntax-highlighting
 + zsh-autosuggestions
 +)
 +</file>