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.
7293
Commits
6
Branches
0
Tags
18 MiB
Tree:
490a310c7c
android-5
build-on-device
electrs
emacs-27
master
patch-log
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '490a310c7c'
${ noResults }
termux-packages
/
packages
/
zsh
/
etc-zshrc
6 lines
96 B
Raw
Normal View
History
Enable command-not-found for bash and zsh interactive shells
10 years ago
command_not_found_handler() {
zsh: Simplify command_not_found_handler() See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
7 years ago
@TERMUX_PREFIX@/libexec/termux/command-not-found $1
Enable command-not-found for bash and zsh interactive shells
10 years ago
}
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='%# '