path: root/zsh
Commit message (Collapse)AuthorAgeFilesLines
* Correct two manual referencesTom Ryder2017-03-101-1/+1
* Extend "fallback" prompt a bitTom Ryder2017-01-271-1/+4
| | | | Include username/hostname if no SSH variables
* Ignore `unalias` failed call output in zshTom Ryder2017-01-251-2/+3
| | | | zsh 5.0.7 doesn't appear to implement -a for zsh, but 5.2 does
* 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.
* Move Zsh keybinding setup to after ENV sourcingTom Ryder2017-01-251-3/+3
* Clear away all aliases for interactive shellsTom Ryder2017-01-251-0/+5
| | | | | | | | | Some systems like OpenBSD or Slackware set up well-meaning aliases that I don't want. We do this for Bash, Yash, and Zsh, but not for Ksh, because it looks like its implementations all variously use aliases to implement some POSIX builtins like fc(1) or type(1) in terms of their own builtins.
* 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
* Use `source` not `.` in zshrcTom Ryder2017-01-061-1/+1
* Fix up zshrc a bitTom Ryder2017-01-031-3/+5
| | | | | | * Move ENV sourcing further up * Don't set HISTSIZE, .shrc does that * Correct copypasta comment from bashrc
* Fix a zsh-as-sh/ksh-specific issueTom Ryder2016-12-301-0/+28
| | | | Very niche, but interesting to fix anyway
* 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
* Not as heretical as I thought :(Tom Ryder2016-12-211-2/+1
* Fix extension of zsh subfileTom Ryder2016-12-191-0/+0
* Request version with "ver" shortcut not promptTom Ryder2016-12-191-0/+4
* Inline a file exist-source testTom Ryder2016-12-191-3/+1
* Remove TMUX SHLVL crap from zsh configTom Ryder2016-12-191-7/+0
* 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-092-0/+14
* 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-272-2/+219
| | | | | | 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.
* Drastically limit amount of history keptTom Ryder2016-08-181-2/+2
| | | | | | Reading really large files seems to be slow in Bash in general, but it's particularly bad in 4.4rc1. I keep encrypted snapshots of my HISTFILE on my home machine, so it's just a little extra step to search them.
* Update bashrc/zshrc with POSIX funcs sourceTom Ryder2016-08-171-0/+3
* Instate some actual real zsh configurationTom Ryder2016-08-152-2/+13
* Remove blank lines at end of filesTom Ryder2016-03-282-2/+0
* Whoops, forgot .zprofileTom Ryder2016-01-291-0/+2
* Add Zsh configurationTom Ryder2016-01-271-0/+2
* Well, that was underwhelming.Tom Ryder2012-06-052-143/+0
* Couple more Zsh optionsTom Ryder2012-06-051-1/+7
* Brackets for visual cue that I'm using ZshTom Ryder2012-06-041-1/+1
* Refactor bashrc config for parity with new zshrcTom Ryder2012-06-042-0/+137
I'm trying out Zshrc for a bit for a future Arabesque article. I've started by just trying to get rough feature parity with my Bash configuration. I've had some moderate success though it's taken quite some time.