aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/git.bash
Commit message (Collapse)AuthorAgeFilesLines
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Switch to a faster method of array appendingTom Ryder2015-12-141-1/+1
| | | | | Does away with the nasty hack around man page discovery, and still compatible with Bash 2.05a
* Flatten expansion for ancient BashTom Ryder2015-10-211-1/+1
| | | | bash: 0: ambiguous redirect
* Correct enumeration of git refs in completionTom Ryder2015-10-211-1/+2
|
* Switch compopt back outTom Ryder2015-10-211-4/+1
| | | | | Damn, looks like 2.05a doesn't have compopt; put it back into the complete line
* Tidy up completion considerably; no more compgenTom Ryder2015-10-211-13/+8
| | | | | | | | | | | | | | * Remove all instances of compgen; for filename completion it's quite broken as it relies on implicit wordsplitting in array context, and doesn't have an option to print with a null delimiter; replaced with manual for/while loops instead * Add IFS= to while/read loops over filenames * Use "dirname/s" instead of "dir/s" variables to avoid keyword collisions and for clarity * Remove some unnecessary variables * Use shorter syntax for loop exit conditions * Move completion options into functions where applicable rather than having them on the completion definition itself
* Separate declaration from assignmentTom Ryder2015-06-061-2/+3
|
* Remove some overzealous command checksTom Ryder2014-10-131-6/+1
|
* Check first word, not previous word, for git cmdTom Ryder2014-04-271-3/+3
|
* Use space before semicolon as command separatorTom Ryder2014-02-101-1/+1
|
* Basic branch/tag completion for git(1)Tom Ryder2014-02-041-0/+39