Overview
Comment: | zshrc: Match fish prompt |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
639c6d7de466adc5f7c90d1e3ae92563 |
User & Date: | js on 2020-02-14 02:32:52 |
Other Links: | manifest | tags |
Context
2020-02-15
| ||
15:07 | zshrc: Fix a typo check-in: 98d3196205 user: js tags: trunk | |
2020-02-14
| ||
02:32 | zshrc: Match fish prompt check-in: 639c6d7de4 user: js tags: trunk | |
01:40 | zshrc: Modernize and backport a bunch from fish check-in: c3587c83a7 user: js tags: trunk | |
Changes
Modified zshrc from [b4c4242f35] to [b29fbe52f0].
︙ | |||
63 64 65 66 67 68 69 70 | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | + + + + + + - + - - - + + + - - + + - | } ;; *) __update_terminal_cwd() {} ;; esac __color() { print "%{\e[$1m%}" } __color_256() { __color "38;5;$1" } __reset_color() { __color 0 } set_prompt() { PS1="$(__color_256 23)%m " PS1+="$(__color_256 29)%c" |
︙ |