aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
Commit message (Collapse)AuthorAgeFilesLines
* Better section management for man completionTom Ryder2015-12-221-8/+15
|
* Avoid calling cat(1) by using builtinsTom Ryder2015-12-182-2/+6
|
* Flatten _path completion spec a bitTom Ryder2015-12-151-54/+51
|
* Remove unneeded args specTom Ryder2015-12-151-1/+1
|
* Localise a stray variableTom Ryder2015-12-141-0/+1
|
* Switch to a faster method of array appendingTom Ryder2015-12-1419-58/+59
| | | | | Does away with the nasty hack around man page discovery, and still compatible with Bash 2.05a
* Fix some EnglishTom Ryder2015-12-131-1/+1
|
* Add more detail on bashkeep usageTom Ryder2015-12-111-6/+25
|
* Whoops, dropped an important characterTom Ryder2015-12-111-1/+1
|
* Put printing/globbing in subshellTom Ryder2015-12-111-5/+9
|
* Create bashkeep directory if it doesn't existTom Ryder2015-12-111-0/+1
|
* Restore previous fnl syntax for shellcheckTom Ryder2015-12-111-2/+3
|
* Add keepTom Ryder2015-12-111-0/+134
|
* Fix some trailing spacesTom Ryder2015-12-011-1/+1
|
* Fix up some mktemp(1) templatesTom Ryder2015-11-271-3/+2
|
* Remove a now-inapplicable commentTom Ryder2015-11-271-4/+0
|
* A little more correct stillTom Ryder2015-11-261-5/+6
|
* Fix/flesh out the comments a bitTom Ryder2015-11-261-3/+3
|
* Shellquote man(1) page namesTom Ryder2015-11-261-1/+1
|
* Use slash as delimiter, fixing all these problemsTom Ryder2015-11-261-16/+3
| | | | Eureka!
* Ignore stderr from manpath(1)Tom Ryder2015-11-261-1/+1
|
* This apostrophe breaks the subshell on Bash 4.1Tom Ryder2015-11-261-1/+1
|
* Add explicit delimiter to printTom Ryder2015-11-261-1/+1
|
* Experimental man(1) completionTom Ryder2015-11-261-0/+65
|
* Only complete vis(1) args as filenamesTom Ryder2015-11-161-1/+1
|
* Completion for vis(1)Tom Ryder2015-11-131-0/+23
|
* Use consistent version checkTom Ryder2015-10-211-3/+1
|
* Strip trailing whitespaceTom Ryder2015-10-212-3/+3
|
* Remove directory change from pass completionTom Ryder2015-10-211-4/+3
|
* Fix another comment typoTom Ryder2015-10-211-2/+2
|
* Fix comment typoTom Ryder2015-10-211-1/+1
|
* Remove unneeded options terminatorTom Ryder2015-10-211-1/+1
|
* Fix typoTom Ryder2015-10-211-1/+1
|
* Move keyword into glob completion generationTom Ryder2015-10-211-2/+1
|
* Exclude stuff not a filename in current directoryTom Ryder2015-10-213-7/+15
| | | | | Otherwise Bash adds a slash to it. %q quoting isn't perfect, but it's better
* Fix backwards testTom Ryder2015-10-211-1/+1
|
* 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
|
* Change COMP_REPLY to intended COMP_WORDSTom Ryder2015-10-211-1/+1
|
* Move quoting into generating loopTom Ryder2015-10-211-2/+3
| | | | Avoids yet another subshell
* When expanding with globbing, use prefixTom Ryder2015-10-214-9/+4
| | | | | Rather than generating all possible completions and then filtering them down, use the completing word as a prefix for the glob
* Switch compopt back outTom Ryder2015-10-2110-40/+15
| | | | | 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-2115-243/+325
| | | | | | | | | | | | | | * 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
* Handle spaces correctly in completionsTom Ryder2015-10-204-0/+8
| | | | | | This is technically still wrong; COMPREPLY needs to be specified with null-delimited IFS, as done in the pass() function. This will do for now.
* Don't require fnl() arg is a commandTom Ryder2015-10-121-1/+1
| | | | Allow builtins, functions
* New function fnl()Tom Ryder2015-10-121-0/+45
|
* Add options terminator to scr() mktemp(1) callTom Ryder2015-10-121-1/+1
|
* Add sd Bash function (sibling directory switch)Tom Ryder2015-10-091-0/+119
|
* Put path func help into heredocTom Ryder2015-09-081-20/+22
| | | | A little more manageable
* Remove overkill chopping on BASH_VERSINFO[0]Tom Ryder2015-08-223-3/+3
| | | | Pointed out by Amy Grace.