맥Mac관련_Apple/macOS맥_맥북_개발환경세팅
linuxOS💕z,zsh-autocomplte,ohmyzsh하는 방법
내인생PLUS
2023. 2. 8. 12:26
728x90
1. sudo apt install zsh
$ sudo apt install zsh
2. Nerd Font설치
https://github.com/romkatv/powerlevel10k#fonts
3. ohmyzsh설치
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
ohmyzsh github
https://github.com/ohmyzsh/ohmyzsh
4. power10k설치
https://github.com/romkatv/powerlevel10k
5. bashrc 설정 최상단에 추가
exec zsh
6. 터미널에서 zsh 치면 설정화면 나옴
7. 설정 끝내고 Plugins 추가
.zshrc
# 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
# other plugins..
zsh-syntax-highlighting
zsh-autosuggestions
z
fzf # 필요하면 추가하세요
fasd # 필요하면 추가하세요
)
8. 설정 끝내고 Plugins 추가
cd .oh-my-zsh/plugins
plugins폴더 들어가서
git clone 으로 강제로 넣어주기
zsh-z
https://github.com/agkozak/zsh-z
https://github.com/zsh-users/zsh-autosuggestions
https://github.com/zsh-users/zsh-syntax-highlighting
9. path 관리는
.zshrc 에서 할 예정
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
끝은 :$PATH로 끝내고 그 사이에 폴더 넣고 : 으로 분리한다.
내 설정
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$HOME/.zig:$HOME/zls:$PATH:
10. 내가 세팅한 PATH확인방법
$PATH
https://github.com/YoungHaKim7/rust_vim_setting
dotfiles_linux/참조하세요
내가 공부하려고 정리함
LinuxOS_Rust개발자세팅_⭐️Terminal Zsh z auto suggestion plug in #zsh
https://youtu.be/heBosu3vlDc
반응형