Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use explicitly nullglob Zsh patterns | Tom Ryder | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | Use XDG base directories for shell keep() funcs | Tom Ryder | 2020-04-22 | 1 | -2/+2 |
| | |||||
* | Fix up a few cosmetic shell anti-patterns | Tom Ryder | 2019-03-29 | 1 | -3/+4 |
| | |||||
* | Clarify control flow in shell scripts | Tom Ryder | 2018-12-31 | 1 | -13/+26 |
| | |||||
* | Two-space sentences in shell comments | Tom Ryder | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | Break up some long lines | Tom Ryder | 2018-12-26 | 1 | -2/+2 |
| | |||||
* | Remove unneeded semicolon from sh "for VAR ; do" | Tom Ryder | 2018-12-06 | 1 | -1/+1 |
| | | | | | It turns out the semicolon belongs to the "in" syntax, and is optional without it. | ||||
* | Break sh noglob guard into two lines for clarity | Tom Ryder | 2018-06-29 | 1 | -1/+2 |
| | | | | They're nicer to read this way. | ||||
* | Escape % signs in prompt command output | Tom Ryder | 2017-07-05 | 1 | -4/+10 |
| | | | | | | | | | | The Zsh analogue of fd2b6fd. This one matters a bit more, as e.g. "%test" is a legal Git branch name. A generic fix for this for Korn shell will be tough, as some of them seem to use backslash escape sequences and others don't. None of the prompt commands *should* emit backslashes, and it doesn't allow remote execution, so I might just leave that. | ||||
* | Remove user@ prefix from prompt | Tom Ryder | 2017-06-19 | 1 | -2/+2 |
| | |||||
* | Allow setting a prompt mode for the shell | Tom Ryder | 2017-06-16 | 1 | -2/+2 |
| | |||||
* | Extend "fallback" prompt a bit | Tom Ryder | 2017-01-27 | 1 | -1/+4 |
| | | | | Include username/hostname if no SSH variables | ||||
* | Show prompt prefix if a shell is exotic | Tom Ryder | 2017-01-25 | 1 | -0/+6 |
| | | | | | | | That is, include e.g. "ksh:" as a prefix to the prompt if the user appears to have Bash or Zsh (or anything else) as their login shell. This is probably imperfect, but it's a start. | ||||
* | Be more specific in ref name trimming | Tom Ryder | 2017-01-25 | 1 | -1/+1 |
| | | | | | e.g. for a namespaced branch "foo/bar/bar", don't strip the leading part off | ||||
* | Remove SHLVL nested shell feature for now | Tom Ryder | 2017-01-24 | 1 | -6/+0 |
| | | | | | Causes a bit too much curliness in configuration; may need a more comprehensive approach. | ||||
* | Add stock Debian Zsh completion | Tom Ryder | 2017-01-10 | 1 | -0/+19 |
| | |||||
* | Tell ShellCheck to ignore an error | Tom Ryder | 2016-12-27 | 1 | -0/+1 |
| | | | | | ret actually is assigned, just not in any place ShellCheck could reasonably be expected to find | ||||
* | Realised easy win avoiding subshells | Tom Ryder | 2016-12-27 | 1 | -11/+2 |
| | | | | And also the PROMPT_RETURN fudge in Bash/Zsh | ||||
* | Port keep() to zsh | Tom Ryder | 2016-12-22 | 1 | -0/+147 |
| | | | | *(N), *.zsh(N) is such a weird syntax | ||||
* | Fix extension of zsh subfile | Tom Ryder | 2016-12-19 | 1 | -0/+0 |
| | |||||
* | Request version with "ver" shortcut not prompt | Tom Ryder | 2016-12-19 | 1 | -0/+4 |
| | |||||
* | Attempt a much saner approach to managing SHLVL | Tom Ryder | 2016-12-19 | 1 | -3/+2 |
| | |||||
* | Color Zsh prompt distinctively | Tom Ryder | 2016-12-17 | 1 | -1/+1 |
| | |||||
* | Port prompt SHLVL behaviour to zsh | Tom Ryder | 2016-12-09 | 1 | -0/+7 |
| | |||||
* | Correct check of --is-work-tree test | Tom Ryder | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Fork bash prompt changes to zsh | Tom Ryder | 2016-09-20 | 1 | -63/+66 |
| | |||||
* | Fix an issue (silencing Git prompt errors) | Tom Ryder | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Restore old code for describing Git prompt commit | Tom Ryder | 2016-09-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | I'm really confused. I could have sworn this was working correctly (i.e. the --always option spat out a short reference to the commit as a fallback), but I must have been wrong. Maybe I hadn't installed the appropriate file when I was testing it. At first I thought this was a bug introduced in Git 2.10, but the short-circuit disregarding --always if --exact-match or --candidates=0 is set seems to have been in the `describe` builtin for ages. I must have just tested poorly; I can't see any other explanation in the source. No matter; this isn't much slower. | ||||
* | Port Bash prompt improvements to Zsh | Tom Ryder | 2016-09-01 | 1 | -33/+25 |
| | |||||
* | Port Bash prompt to Zsh | Tom Ryder | 2016-08-27 | 1 | -0/+214 |
Somewhat naïvely; just quick searches of `man zshall`. I'm sure some of the stuff I removed has analogous features or that they can be implemented. |