Advertisement
Jackspade9624

termux custom directory

Feb 23rd, 2025 (edited)
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. cd ~
  2.  
  3. nano .bashrc
  4.  
  5.  
  6. echo "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
  7. command_not_found_handle() {
  8. /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
  9. }
  10. fi
  11.  
  12. PS1='\[\e[94m\]┌─[\[\e[93m\]\T\[\e[94m\]]─────\e[94m[\[\e[0;35m\]JACK\e[94m\]]\e[94m───[\[\e[0;94m\]\#]\n|\n\e[94m\]\e[94m└─[\[\e[31m\]\e[0;92m\W\[\e[94m\]]────►\e[1;96m'" > /data/data/com.termux/files/usr/etc/bash.bashrc
  13.  
  14.  
  15. source ~/.bashrc
  16.  
  17.  
  18. termux-reload-settings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement