Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to a faster method of array appending | Tom Ryder | 2015-12-14 | 1 | -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 Ryder | 2015-08-22 | 1 | -1/+1 |
| | | | | Pointed out by Amy Grace. | ||||
* | Allow PROMPT_PREFIX and PROMPT_SUFFIX | Tom Ryder | 2015-06-09 | 1 | -2/+11 |
| | | | | Also break the prompt definition into multiple lines for readability | ||||
* | Consistent alphabetical order for read opts | Tom Ryder | 2015-06-07 | 1 | -2/+2 |
| | |||||
* | Remove duplicate declaration | Tom Ryder | 2015-06-06 | 1 | -3/+0 |
| | |||||
* | Rearrange variables for tput strings | Tom Ryder | 2015-06-06 | 1 | -2/+4 |
| | |||||
* | Safer version test | Tom Ryder | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | Separate declaration from assignment | Tom Ryder | 2015-06-06 | 1 | -10/+7 |
| | |||||
* | Avoid command substitution inline declaration | Tom Ryder | 2015-06-06 | 1 | -2/+4 |
| | |||||
* | Use consistent [[ syntax | Tom Ryder | 2015-06-04 | 1 | -2/+2 |
| | | | | Explicit -n, ! within [[ | ||||
* | Correct argument test in bd() and prompt() | Tom Ryder | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | Exit with 2 on usage errors like Bash builtins | Tom Ryder | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | Change if-elseif chain to a switch-case | Tom Ryder | 2015-03-25 | 1 | -20/+27 |
| | |||||
* | Better read d-null syntax | Tom Ryder | 2014-11-01 | 1 | -2/+2 |
| | |||||
* | Remove misfeature | Tom Ryder | 2014-10-30 | 1 | -14/+2 |
| | | | | Very seldom actually going to use this | ||||
* | Counted fields wrong | Tom Ryder | 2014-10-23 | 1 | -4/+4 |
| | |||||
* | Show nice level of current process if /proc | Tom Ryder | 2014-10-23 | 1 | -2/+15 |
| | |||||
* | Error out on bad prompt calls | Tom Ryder | 2014-10-23 | 1 | -0/+4 |
| | |||||
* | Define PS{2..4}, including a nice PS4 for set -x | Tom Ryder | 2014-10-18 | 1 | -2/+8 |
| | |||||
* | Initialize flag vars | Tom Ryder | 2014-10-13 | 1 | -3/+3 |
| | |||||
* | Use arith context for boolean vars | Tom Ryder | 2014-10-13 | 1 | -7/+7 |
| | |||||
* | No args to prompt prints prompt strings | Tom Ryder | 2014-10-04 | 1 | -0/+6 |
| | |||||
* | Use PROMPT_RETURN instead of just ret | Tom Ryder | 2014-07-07 | 1 | -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 prompt | Tom Ryder | 2014-06-16 | 1 | -2/+2 |
| | |||||
* | Be more specific about prompt part appearance | Tom Ryder | 2014-05-27 | 1 | -2/+2 |
| | |||||
* | Remove unneeded ${...} wraps around array derefs | Tom Ryder | 2014-02-19 | 1 | -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 separator | Tom Ryder | 2014-02-10 | 1 | -29/+29 |
| | |||||
* | Remove some unneeded semicolons | Tom Ryder | 2014-02-10 | 1 | -3/+3 |
| | |||||
* | Declare vars as integers in prompt | Tom Ryder | 2014-02-05 | 1 | -5/+8 |
| | |||||
* | Reset three vars in one go | Tom Ryder | 2014-02-05 | 1 | -3/+1 |
| | |||||
* | Declare ret as an integer | Tom Ryder | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | Unset PROMPT_DIRTRIM and ret for old prompt | Tom Ryder | 2014-02-05 | 1 | -0/+2 |
| | |||||
* | Correct misleading comment | Tom Ryder | 2013-12-06 | 1 | -1/+1 |
| | |||||
* | Add completion for prompt command | Tom Ryder | 2013-12-06 | 1 | -0/+3 |
| | |||||
* | Correct error in comment | Tom Ryder | 2013-10-25 | 1 | -1/+1 |
| | |||||
* | Restore previous test syntax | Tom Ryder | 2013-09-25 | 1 | -1/+1 |
| | | | | This reads a bit better | ||||
* | Correct comment | Tom Ryder | 2013-09-23 | 1 | -1/+1 |
| | |||||
* | Clarify git branch/commit detection | Tom Ryder | 2013-09-23 | 1 | -3/+7 |
| | |||||
* | Correct termcap/info code | Tom Ryder | 2013-09-22 | 1 | -1/+1 |
| | |||||
* | Attempt at terminal independence of prompt color | Tom Ryder | 2013-09-22 | 1 | -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 read | Tom Ryder | 2013-09-21 | 1 | -3/+3 |
| | |||||
* | Enhance parsing of hg status a bit too | Tom Ryder | 2013-09-21 | 1 | -3/+16 |
| | |||||
* | Some more opts/refinements for git prompt | Tom Ryder | 2013-09-21 | 1 | -8/+3 |
| | |||||
* | svn has no concept of staging, remove '+' usage | Tom Ryder | 2013-09-21 | 1 | -17/+8 |
| | |||||
* | Complete overhaul of git prompt function | Tom Ryder | 2013-09-21 | 1 | -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 print | Tom Ryder | 2013-09-21 | 1 | -6/+6 |
| | | | | Slightly but consistently faster | ||||
* | Write 'added' check for Bash SVN prompt | Tom Ryder | 2013-09-21 | 1 | -1/+7 |
| | |||||
* | Improve status parsing for SVN a bit | Tom Ryder | 2013-09-17 | 1 | -5/+18 |
| | |||||
* | Forgot to make two vars local | Tom Ryder | 2013-09-17 | 1 | -1/+1 |
| | |||||
* | Forgot read -r | Tom Ryder | 2013-09-17 | 1 | -1/+1 |
| |