install zsh และ oh-my-zsh

Post Reply
brid.surapol
Posts: 150
Joined: 11 Apr 2013, 11:43

install zsh และ oh-my-zsh

Post by brid.surapol »

Code: Select all

sudo apt install zsh
ที่ home

Code: Select all

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
ที่ ~/.oh-my-zsh/plugins

Code: Select all


git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

ใน .zshrc
เปลี่ยน them เป็นร bira

Code: Select all

plugins=(
        git
        zsh-autosuggestions
        zsh-syntax-highlighting
        jsontools
        colored-man-pages
)
ใน .oh-my-zsh/themes
edit bira.zsh-theme
เปลี่ยนค่า

Code: Select all

local current_dir="%B%{$fg[blue]%}%~ %{$reset_color%}"
เป็น

Code: Select all

local current_dir="%B%{$fg[cyan]%}%~ %{$reset_color%}"
edit .vimrc
เพิ่มบรรทัด

Code: Select all

syntax on
colorscheme desert
ใน macOS

Code: Select all

syntax on
colorscheme torte
Post Reply

Return to “การใช้งาน Linux”