Overview
Comment: | zshrc: Use $USER instead of $(whoami)
This fixes QNX. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c86690c5919cdcbfc31ec23b7438039a |
User & Date: | js on 2024-03-31 20:57:53 |
Other Links: | manifest | tags |
Context
2024-08-18
| ||
16:43 | Add bootstrap.sh check-in: c86125c1d7 user: js tags: trunk | |
2024-03-31
| ||
20:57 | zshrc: Use $USER instead of $(whoami) check-in: c86690c591 user: js tags: trunk | |
2024-03-11
| ||
21:53 | zshrc: Add back sprunge check-in: 6276aeb66b user: js tags: trunk | |
Changes
Modified zshrc from [d7b1800aa3] to [87f26698d5].
︙ | ︙ | |||
134 135 136 137 138 139 140 | fi if [ -n "$1" ]; then local branch="$(color $color_vcs_braces)($(color $color_vcs)$1" branch+="$(color $color_vcs_braces))" fi | | | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | fi if [ -n "$1" ]; then local branch="$(color $color_vcs_braces)($(color $color_vcs)$1" branch+="$(color $color_vcs_braces))" fi if [ "$USER" != "$normal_user" ]; then local user="%n@" fi PS1="$(color $color_host)$user%m $(color $color_cwd)%c$branch" PS1+="$(color $color_suffix)%(!.#.>)$(nocolor) " PS2="%B>%b " RPS1="%(1j.$(color $color_jobs)%B%j%b$(nocolor).)%(?..%(1j. .)" |
︙ | ︙ |