맥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

GitHub - romkatv/powerlevel10k: A Zsh theme

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

github.com




3. ohmyzsh설치

https://ohmyz.sh/

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



https://ohmyz.sh/#install

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



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




ohmyzsh github
https://github.com/ohmyzsh/ohmyzsh

GitHub - ohmyzsh/ohmyzsh: 🙃   A delightful community-driven (with 2,100+ contributors) framework for managing your zsh config

🙃 A delightful community-driven (with 2,100+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...

github.com




4. power10k설치

https://github.com/romkatv/powerlevel10k

GitHub - romkatv/powerlevel10k: A Zsh theme

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

github.com




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

GitHub - agkozak/zsh-z: Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added feat

Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features. - GitHub - agkozak/zsh-z: Jump quickly to directories that you have visited &...

github.com





https://github.com/zsh-users/zsh-autosuggestions

GitHub - zsh-users/zsh-autosuggestions: Fish-like autosuggestions for zsh

Fish-like autosuggestions for zsh. Contribute to zsh-users/zsh-autosuggestions development by creating an account on GitHub.

github.com





https://github.com/zsh-users/zsh-syntax-highlighting

GitHub - zsh-users/zsh-syntax-highlighting: Fish shell like syntax highlighting for Zsh.

Fish shell like syntax highlighting for Zsh. Contribute to zsh-users/zsh-syntax-highlighting development by creating an account on GitHub.

github.com






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

GitHub - YoungHaKim7/rust_vim_setting: My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7

My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7 - GitHub - YoungHaKim7/rust_vim_setting: My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7

github.com


dotfiles_linux/참조하세요








내가 공부하려고 정리함

LinuxOS_Rust개발자세팅_⭐️Terminal Zsh z auto suggestion plug in #zsh
https://youtu.be/heBosu3vlDc
























반응형