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
8d7cd62601
termux-packages
/
packages
/
zsh
/
etc-zshrc
6 lines
96 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_handler() {
zsh: Simplify command_not_found_handler() See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
2018-07-15 18:44:43 +02:00
@TERMUX_PREFIX@/libexec/termux/command-not-found $1
Enable command-not-found for bash and zsh interactive shells
2015-07-14 01:41:08 +02:00
}
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