path: root/zsh/zshrc.d
Commit message (Collapse)AuthorAgeFilesLines
* Extend "fallback" prompt a bitTom Ryder2017-01-271-1/+4
| | | | Include username/hostname if no SSH variables
* Show prompt prefix if a shell is exoticTom Ryder2017-01-251-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 trimmingTom Ryder2017-01-251-1/+1
| | | | | e.g. for a namespaced branch "foo/bar/bar", don't strip the leading part off
* Remove SHLVL nested shell feature for nowTom Ryder2017-01-241-6/+0
| | | | | Causes a bit too much curliness in configuration; may need a more comprehensive approach.
* Add stock Debian Zsh completionTom Ryder2017-01-101-0/+19
* Tell ShellCheck to ignore an errorTom Ryder2016-12-271-0/+1
| | | | | ret actually is assigned, just not in any place ShellCheck could reasonably be expected to find
* Realised easy win avoiding subshellsTom Ryder2016-12-271-11/+2
| | | | And also the PROMPT_RETURN fudge in Bash/Zsh
* Port keep() to zshTom Ryder2016-12-221-0/+147
| | | | *(N), *.zsh(N) is such a weird syntax
* Fix extension of zsh subfileTom Ryder2016-12-191-0/+0
* Request version with "ver" shortcut not promptTom Ryder2016-12-191-0/+4
* Attempt a much saner approach to managing SHLVLTom Ryder2016-12-191-3/+2
* Color Zsh prompt distinctivelyTom Ryder2016-12-171-1/+1
* Port prompt SHLVL behaviour to zshTom Ryder2016-12-091-0/+7
* Correct check of --is-work-tree testTom Ryder2016-10-151-1/+1
* Fork bash prompt changes to zshTom Ryder2016-09-201-63/+66
* Fix an issue (silencing Git prompt errors)Tom Ryder2016-09-081-1/+1
* Restore old code for describing Git prompt commitTom Ryder2016-09-071-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 ZshTom Ryder2016-09-011-33/+25
* Port Bash prompt to ZshTom Ryder2016-08-271-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.