Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to enable ZSH ZSH-AutoSuggestions and ZSH-Syntax-Highlighting in Termux.
- Step-1:
- Install zsh
- $ pkg install zsh
- Step-2
- Run to install oh-my-zsh
- sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Step-3
- Run to install ZSH-AutoSuggestions
- git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
- Step-4
- Run to install ZSH-Syntax-Highlighting
- git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
- Step-5
- Add some ZSH-AutoSuggestions and ZSH-Syntax-Highlighting as shown in Video
- nano ~/.zshrc
- plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
- Step-6
- Change default them as shown in video
- ZSH_THEME="af-magic"
- #You should not use this
- sed -i "s/ZSH_THEME=.*/ZSH_THEME=\"af-magic\"/g" $HOME/.zshrc
- Step-7
- Add zsh to existing bashRC file
- Add to $PREFIX/etc/bash.bashrc
- exec zsh
- Video Link here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement