aboutsummaryrefslogtreecommitdiff
path: root/bash
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add some upstream checking to Git promptTom Ryder2016-08-211-3/+19
| | | | Also add some comments to be a bit less cryptic
* Use terser prompt status flag checksTom Ryder2016-08-211-8/+4
|
* Resolve an issue with incorrect prompt infoTom Ryder2016-08-211-0/+3
| | | | | | | | | | | | | From `man 1 git-config`: > diff.autoRefreshIndex > When using git diff to compare with work tree files, do not > consider stat-only change as changed. Instead, silently run git > update-index --refresh to update the cached stat information for > paths whose contents in the work tree match the contents in the > index. This option defaults to true. Note that this affects only > git diff Porcelain, and not lower level diff commands such as git > diff-files.
* Update path() completionTom Ryder2016-08-201-3/+3
|
* Port path() to POSIX shTom Ryder2016-08-201-180/+0
| | | | That was a lot easier than I thought
* Port fnl() to POSIX sh script fnl(1)Tom Ryder2016-08-201-41/+0
| | | | | No real compelling reason to make it a shell function in the first place.
* Remove readv() and readz()Tom Ryder2016-08-202-29/+0
| | | | Neither are terribly useful
* Port vr(1) to POSIX shTom Ryder2016-08-201-59/+0
|
* Port lhn() to POSIX shTom Ryder2016-08-201-7/+0
|
* Port sd() to POSIX shTom Ryder2016-08-201-109/+0
|
* Port pd() to POSIX shTom Ryder2016-08-201-53/+0
|