This website requires JavaScript.
Explore
Help
Register
Sign In
sergiotarxz
/
termux-packages
Watch
1
Star
0
Fork
0
You've already forked termux-packages
Code
Issues
Pull Requests
Releases
Wiki
Activity
49db072cb8
termux-packages
/
packages
/
bash
/
etc-bash.bashrc
6 lines
97 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Enable command-not-found for bash and zsh interactive shells
2015-07-14 01:41:08 +02:00
command_not_found_handle() {
@TERMUX_PREFIX@/libexec/termux/command-not-found "$1"
}
make PS1 dynamic and shell-specific PS1 is not supposed to be an environment variable (i.e. will not be listed in `printenv` but only in `set`). Its value should also be shell-specific. With this commit we can stop exporting a static PS1 as env var on the java side. The prompt would now indicate whether the current user is root.
2018-06-19 20:08:15 +02:00
PS1='\$ '
Reference in New Issue
Copy Permalink