Advertisement
efxtv

ZSH shell in termux

Sep 13th, 2023 (edited)
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | Cybersecurity | 0 0
  1.  
  2. How to enable ZSH ZSH-AutoSuggestions and ZSH-Syntax-Highlighting in Termux.
  3.  
  4. Step-1:
  5. Install zsh
  6. $ pkg install zsh
  7.  
  8. Step-2
  9. Run to install oh-my-zsh
  10. sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  11.  
  12. Step-3
  13. Run to install ZSH-AutoSuggestions
  14. git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
  15.  
  16. Step-4
  17. Run to install ZSH-Syntax-Highlighting
  18. git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
  19.  
  20. Step-5
  21. Add some ZSH-AutoSuggestions and ZSH-Syntax-Highlighting as shown in Video
  22. nano ~/.zshrc
  23. plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
  24.  
  25. Step-6
  26. Change default them as shown in video
  27. ZSH_THEME="af-magic"
  28.  
  29. #You should not use this
  30. sed -i "s/ZSH_THEME=.*/ZSH_THEME=\"af-magic\"/g" $HOME/.zshrc
  31.  
  32. Step-7
  33. Add zsh to existing bashRC file
  34. Add to $PREFIX/etc/bash.bashrc
  35. exec zsh
  36.  
  37. Video Link here
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement