Commit Graph

8 Commits

Author SHA1 Message Date
termux-pacman-bot
b0924f4094 fix(main/bash): fix condition for PS1 override in system bashrc 2025-02-27 20:04:13 +00:00
termux-pacman-bot
4b67c0b7f2 enhance(main/bash): Allow users to overwrite $PS1 by passing it as a variable to Bash
Co-authored-by: TomIO <43716232+TomJo2000@users.noreply.github.com>
2025-02-27 17:10:03 +00:00
termux-pacman-bot
a67fbc1611 bash: bump revision after change
the bump supposedly in the previous commit was lost somehow
2022-10-07 11:40:46 +00:00
Lucy Phipps
c4c38a69db default bashrc: less needless escapes 2020-12-11 22:12:19 +02:00
Leonid Pliushch
7b1c8173e7 bash: better default bashrc 2020-12-11 18:31:13 +02:00
Leonid Pliushch
1e5d50a950 bash: use command-not-found handler only if it exists 2019-07-22 02:23:43 +03:00
Tom Yan
5d3ef9ba0c 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-22 01:11:37 +02:00
Fredrik Fornwall
3cc4ef712e Enable command-not-found for bash and zsh interactive shells 2015-07-13 19:41:08 -04:00