aboutsummaryrefslogtreecommitdiff
path: root/bash
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Feature test for find(1) completionTom Ryder2016-09-061-0/+4
|
* Add left-paren to subshell casesTom Ryder2016-09-061-5/+5
|
* Add find(1) completionTom Ryder2016-09-051-0/+85
|
* Complete kill builtin with jobspecs and user PIDsTom Ryder2016-09-052-1/+16
|
* Flesh out builtin completions a littleTom Ryder2016-09-051-7/+8
|
* Skip comments in Makefile Bash completionTom Ryder2016-09-051-0/+1
|
* Test number of colors properly for promptTom Ryder2016-09-031-31/+26
|
* Move HISTSIZE and MAILCHECK to shrcTom Ryder2016-09-011-6/+0
| | | | Turns out they're POSIX variables!
* Correct completions for declare, typeset etcTom Ryder2016-09-011-4/+1
| | | | All of them can accept function names
* Restore git symbolic-ref as first attemptTom Ryder2016-08-311-2/+4
| | | | | Otherwise if two branches point to the same commit, you can't be sure which one will show up.
* Efficiency tweaks for Subversion promptTom Ryder2016-08-311-17/+11
|
* Stop loop when we have needed svn info varsTom Ryder2016-08-311-3/+2
|
* Remove unneeded fallback for $nameTom Ryder2016-08-311-2/+1
| | | | We've already bailed out by this point if we couldn't get one
* Move git index update higher upTom Ryder2016-08-311-3/+3
|
* Use simpler method to find branch nameTom Ryder2016-08-311-11/+9
| | | | | Only one call to git(1), too; seems to work at least as far back as Git v1.5.6.5
* Use shorter "or" syntax within [[ ]]Tom Ryder2016-08-311-1/+1
|
* Handle empty filename completions betterTom Ryder2016-08-307-29/+56
| | | | | | Bash 4.4 hangs in an awkward way (probably outputting the literal null char in some unexpected context) without this; I'm not sure if this is a bug or whether it's just been tolerated behaviour until now.
* Add mapfile to completions (conditional on vers)Tom Ryder2016-08-291-0/+3
|
* Move COMP_WORDBREAKS tweaks to completion subfileTom Ryder2016-08-292-5/+5
|
* Correct comment in bashrcTom Ryder2016-08-271-2/+1
|
* Use -n test and temp var for working tree testTom Ryder2016-08-271-2/+3
|
* Move bash-independent code ~/.bashrc -> ~/.shrcTom Ryder2016-08-271-9/+0
|
* Add `lithist` to shell optionsTom Ryder2016-08-261-0/+2
|
* Put dotfiles manuals into their own sectionTom Ryder2016-08-262-3/+3
| | | | This probably contains a few mistakes
* Add TIMEFORMATTom Ryder2016-08-251-0/+3
|
* Show REBASE,MERGE etc in Git promptTom Ryder2016-08-251-2/+16
| | | | | Again pretty much pilfered from the contrib git prompt script in the Git source
* Show tag name in Git prompt if commit is taggedTom Ryder2016-08-251-1/+3
|
* Refine git prompt commands a bitTom Ryder2016-08-241-3/+4
| | | | Informed by git-prompt.sh from the Git source distribution
* Bump history limits back up a bitTom Ryder2016-08-241-4/+4
| | | | Let's see if this actually does slow things down as much as I thought
* Expand and whitelist BASH_VERSINFO check in han(1)Tom Ryder2016-08-231-0/+1
|
* Fully expand FUNCNAMETom Ryder2016-08-233-12/+12
|
* Explicitly declare array to reassure shellcheckTom Ryder2016-08-231-3/+2
|
* Add -r to read to placate shellcheckTom Ryder2016-08-234-4/+4
|
* If HEAD not set, suppress errorTom Ryder2016-08-231-1/+1
|
* Correct test written in previous commitTom Ryder2016-08-231-1/+2
|
* Check SSH_CLIENT *and* SSH_CONNECTION for promptTom Ryder2016-08-231-1/+1
|
* Experiment with abbreviated promptTom Ryder2016-08-231-2/+5
| | | | And an even more strict tmux environment
* Split completions that use ssh_config(5) hostsTom Ryder2016-08-224-22/+33
|
* Move .bashrc interactivity test to topTom Ryder2016-08-221-6/+6
|
* Remove double-up import of completionsTom Ryder2016-08-211-17/+0
|
* Quote a bash->sh variableTom Ryder2016-08-211-1/+1
|
* Many stylistic fixes/optimisationsTom Ryder2016-08-216-90/+34
| | | | In particular, limit the verbose >=2.05 test to just one file: .bashrc
* Force type for Git ahead/behind countsTom Ryder2016-08-211-4/+6
|
* Use dynamic completion if availableTom Ryder2016-08-213-41/+75
|
* Anticipate Bath versions > 4Tom Ryder2016-08-211-1/+1
|
* Use clearer quoting for status flagsTom Ryder2016-08-211-6/+6
|
* Target terminfo first, then termcapTom Ryder2016-08-211-9/+9
|
* Break up long printf linesTom Ryder2016-08-211-2/+4
|
* Slightly quicker git/svn detectionTom Ryder2016-08-211-15/+6
|