This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
termux-packages
mirror of
https://github.com/lukechilds/termux-packages.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
8002
Commits
6
Branches
0
Tags
18 MiB
Tree:
e2e3cee157
termux-packages
/
packages
/
bash
/
etc-bash.bashrc
6 lines
97 B
Raw
Normal View
History
Enable command-not-found for bash and zsh interactive shells
10 years ago
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.
7 years ago
PS1='\$ '