| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-11-10 | Check for git-sh-prompt availability | Kévin Le Gouguec | |
| 2016-11-10 | (m) Simplify case statement | Kévin Le Gouguec | |
| 2016-11-09 | (m) Bikeshed __set-prompt | Kévin Le Gouguec | |
| - every function should give explicit names to its arguments, so they might as well start with that; - this function's goal is to build PS1, so BUILDING_PS1=t should appear reasonably early to have some symmetry with unset BUILDING_PS1; - PS1 is the main output of this function, so its initialization should appear relatively early as well. … I'm trying to justify shuffling some assignments around in a commit message that no one will ever read. WHAT AM I DOING WITH MY LIFE. | |||
| 2016-11-09 | (m) Add emphasis on hostname | Kévin Le Gouguec | |
| 2016-11-08 | Keep track of current column to deduce correct rule length | Kévin Le Gouguec | |
| Maybe a better option would be to display some bright red markers and display the full rule on a new line. 🤷 | |||
| 2016-11-08 | (m) Make sure "rule" is not exported | Kévin Le Gouguec | |
| 2016-11-08 | (m) Be kind to future me | Kévin Le Gouguec | |
| Document where those are coming from. | |||
| 2016-11-08 | (m) Use literals instead of octal values | Kévin Le Gouguec | |
| "\E" means "the escape character", and "\a" means "bell". References: bash(1) console_codes(4) | |||
| 2016-11-08 | (m) Reduce focus on separators | Kévin Le Gouguec | |
| 2016-11-08 | Add "automatic" setting for hostname display | Kévin Le Gouguec | |
| This will show the hostname when logged in over SSH. | |||
| 2016-11-05 | Add option for hostname display | Kévin Le Gouguec | |
| 2016-11-05 | Simplify argument enumeration (again) | Kévin Le Gouguec | |
| 2016-11-05 | (m) Move comment on non-printing characters | Kévin Le Gouguec | |
| 2016-11-05 | Simplify argument enumeration | Kévin Le Gouguec | |
| 2016-11-05 | Simplify check for empty variable | Kévin Le Gouguec | |
| Someday this is going to bite me in the ass. Right now though, I can't come up with a reason not to do this. Inspiration: test(1) -n STRING the length of STRING is nonzero STRING equivalent to -n STRING | |||
| 2016-11-05 | Concatenate instead of echoing | Kévin Le Gouguec | |
| TODO: measure whether this actually changes anything. | |||
| 2016-11-04 | Add horizontal rule | Kévin Le Gouguec | |
| 2016-11-04 | Add initial script | Kévin Le Gouguec | |
