Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ▪︎Termux Customizable cd and Extra Keys
- (Date, Time, Directory,, Session Count, Font Color Output)
- Customize your colors, bash-colors.md
- https://gist.github.com/JBlond/2fea43a3049b38287e5e9cefc87b2124
- cd ~
- nano .bashrc
- PS1='\[\033[1;91m\]\D{%b-%d-%Y} \[\033[1;93m\]\@
- \[\033[01;94m\]\w\[\033[1;97m\] \#\[\e[1;92m\] '
- (Without date and time)
- PS1='\[\033[01;34m\]\w\[\033[0;97m\] \#\[\e[0;32m\] '
- CTRL o
- press enter to save file modifications
- CTRL x
- exit nano .bashrc
- source ~/.bashrc
- termux-reload-settings
- exit terminal and start new session
- ▪︎ Extra Keys and Modifications
- cd .termux
- nano termux.properties
- extra-keys = [ \
- ['ESC','/','-','HOME','UP','END','PGUP','BKSP'], \
- ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN','ENTER'] \
- ]
- (add to bottom of existing file, customize your layout, change keys)
- CTRL o
- press enter to save file modifications
- CTRL x
- exit nano termux.properties
- termux-reload-settings
- exit terminal and start new session
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement