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
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7238
Commits
6
Branches
0
Tags
18 MiB
Tree:
77eb00c4c8
android-5
build-on-device
electrs
emacs-27
master
patch-log
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '77eb00c4c8'
${ noResults }
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='\$ '