aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/prompt.bash
Commit message (Collapse)AuthorAgeFilesLines
* Switch to a faster method of array appendingTom Ryder2015-12-141-8/+8
| | | | | Does away with the nasty hack around man page discovery, and still compatible with Bash 2.05a
* Remove overkill chopping on BASH_VERSINFO[0]Tom Ryder2015-08-221-1/+1
| | | | Pointed out by Amy Grace.
* Allow PROMPT_PREFIX and PROMPT_SUFFIXTom Ryder2015-06-091-2/+11
| | | | Also break the prompt definition into multiple lines for readability
* Consistent alphabetical order for read optsTom Ryder2015-06-071-2/+2
|
* Remove duplicate declarationTom Ryder2015-06-061-3/+0
|
* Rearrange variables for tput stringsTom Ryder2015-06-061-2/+4
|
* Safer version testTom Ryder2015-06-061-1/+1
|
* Separate declaration from assignmentTom Ryder2015-06-061-10/+7
|
* Avoid command substitution inline declarationTom Ryder2015-06-061-2/+4
|
* Use consistent [[ syntaxTom Ryder2015-06-041-2/+2
| | | | Explicit -n, ! within [[
* Correct argument test in bd() and prompt()Tom Ryder2015-06-041-1/+1
|
* Exit with 2 on usage errors like Bash builtinsTom Ryder2015-05-291-1/+1
|
* Change if-elseif chain to a switch-caseTom Ryder2015-03-251-20/+27
|
* Better read d-null syntaxTom Ryder2014-11-011-2/+2
|
* Remove misfeatureTom Ryder2014-10-301-14/+2
| | | | Very seldom actually going to use this
* Counted fields wrongTom Ryder2014-10-231-4/+4
|
* Show nice level of current process if /procTom Ryder2014-10-231-2/+15
|
* Error out on bad prompt callsTom Ryder2014-10-231-0/+4
|
* Define PS{2..4}, including a nice PS4 for set -xTom Ryder2014-10-181-2/+8
|
* Initialize flag varsTom Ryder2014-10-131-3/+3
|
* Use arith context for boolean varsTom Ryder2014-10-131-7/+7
|
* No args to prompt prints prompt stringsTom Ryder2014-10-041-0/+6
|
* Use PROMPT_RETURN instead of just retTom Ryder2014-07-071-4/+4
| | | | | | Conflicts with ret variable in older versions of bash_completion. Normally don't like defining capital-var variables but I think it's appropriate in this case.
* Detect typechanges in git promptTom Ryder2014-06-161-2/+2
|
* Be more specific about prompt part appearanceTom Ryder2014-05-271-2/+2
|
* Remove unneeded ${...} wraps around array derefsTom Ryder2014-02-191-1/+1
| | | | | Arrays can be dereferenced in arithmetic context, which I didn't realise until I actually tried it. This looks neater.
* Use space before semicolon as command separatorTom Ryder2014-02-101-29/+29
|
* Remove some unneeded semicolonsTom Ryder2014-02-101-3/+3
|
* Declare vars as integers in promptTom Ryder2014-02-051-5/+8
|
* Reset three vars in one goTom Ryder2014-02-051-3/+1
|
* Declare ret as an integerTom Ryder2014-02-051-1/+1
|
* Unset PROMPT_DIRTRIM and ret for old promptTom Ryder2014-02-051-0/+2
|
* Correct misleading commentTom Ryder2013-12-061-1/+1
|
* Add completion for prompt commandTom Ryder2013-12-061-0/+3
|
* Correct error in commentTom Ryder2013-10-251-1/+1
|
* Restore previous test syntaxTom Ryder2013-09-251-1/+1
| | | | This reads a bit better
* Correct commentTom Ryder2013-09-231-1/+1
|
* Clarify git branch/commit detectionTom Ryder2013-09-231-3/+7
|
* Correct termcap/info codeTom Ryder2013-09-221-1/+1
|
* Attempt at terminal independence of prompt colorTom Ryder2013-09-221-5/+17
| | | | | | If it gets much more involved than this I'll probably just not bother with termcap, I don't very often use BSD systems but it would be nice if it Just Worked
* Correct var definitions for readTom Ryder2013-09-211-3/+3
|
* Enhance parsing of hg status a bit tooTom Ryder2013-09-211-3/+16
|
* Some more opts/refinements for git promptTom Ryder2013-09-211-8/+3
|
* svn has no concept of staging, remove '+' usageTom Ryder2013-09-211-17/+8
|
* Complete overhaul of git prompt functionTom Ryder2013-09-211-35/+25
| | | | | | | This uses the output of ``git status -z --porcelain'', which was designed for exactly this kind of reason. It avoids excessive program calls, forks, and a few subshells, and is consistently faster on everything I've tried so far.
* Remove subshell call from status printTom Ryder2013-09-211-6/+6
| | | | Slightly but consistently faster
* Write 'added' check for Bash SVN promptTom Ryder2013-09-211-1/+7
|
* Improve status parsing for SVN a bitTom Ryder2013-09-171-5/+18
|
* Forgot to make two vars localTom Ryder2013-09-171-1/+1
|
* Forgot read -rTom Ryder2013-09-171-1/+1
|