Installation
sudo apt install zsh
zsh --version
echo $SHELL
sudo chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting fzf)
sudo apt install fonts-powerline
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
sudo apt install bat
sudo apt install fzf
sudo apt install zoxide
alias vim="nvim"
alias cls="clear"
alias cat="bat"
alias ls="ls --color=auto"
alias grep="grep --color=auto"
window
{
"guid": "{124fc1da-dadc-4276-9c4e-f0524ba57a49}",
"name": "Git Bash",
"commandline": "\"%PROGRAMFILES%\\git\\usr\\bin\\bash.exe\" -i -l",
"icon": "%PROGRAMFILES%\\git\\mingw64\\share\\git\\git-for-windows.ico",
"startingDirectory": "%USERPROFILE%",
"cursorShape": "filledBox",
"hidden": false
}
[FZF in WINDOW](Releases · junegunn/fzf (github.com))
C:\Program Files\Git
에 압축해제
zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# 실행
vi ~/.bashrc
# 편집 후 저장
if [ -t 1 ]; then
exec zsh
fi
참고:
- OhMyZsh
- [Powerline](powerline/fonts: Patched fonts for Powerline users. (github.com))
- [Powerline10k](romkatv/powerlevel10k: A Zsh theme (github.com))