5d3ef9ba0c
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.
7 lines
106 B
Plaintext
7 lines
106 B
Plaintext
command_not_found_handler() {
|
|
@TERMUX_PREFIX@/libexec/termux/command-not-found $1
|
|
return 0
|
|
}
|
|
|
|
PS1='%# '
|