Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Install Auto Correct in Termux | Termux Fish Shell 🖤🥀
- INSTALL -->🍁
- pkg install fish neofetch -y && cd && echo "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
- command_not_found_handle() {
- /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
- }
- fi
- PS1='$'
- clear && neofetch && fish" > /data/data/com.termux/files/usr/etc/bash.bashrc && exit
- UNINSTALL -->🍁
- pkg uninstall fish -y && echo "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
- command_not_found_handle() {
- /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
- }
- fi
- PS1='\$ '" > /data/data/com.termux/files/usr/etc/bash.bashrc && exit
- customize fish shell
- function fish_prompt
- # interactive user name @ host name, date>
- echo (date '+%Y-%m-%d %H:%M:%S')
- echo (pwd)
- echo " jack's gone fishin
- [~]:# "
- end
- color change
- # Set normal text color to white
- set fish_color_normal white
- # Set command color to green
- set fish_color_command green
- # Set keyword color to cyan
- set fish_color_keyword cyan
- # Set error color to red and bold
- set fish_color_error red --bold
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement