- I create this repository just for centralize all my configs.
Open terminal
apt-get install zsh
chsh -s $(which zsh) (zsh be the system default command interpreter)
apt install curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
restart terminal.
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
vi ~/.zshrc
press i
And change ZSH_THEME="spaceship"
press esc
:wq
enter
source ~/.zshrc - Reload zsh
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
vi ~/.zshrc
press i
And change plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
press esc
:wq
enter
source ~/.zshrc