aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix a logic bugTom Ryder2015-08-051-1/+2
|
* More intelligent trailing-slash filteringTom Ryder2015-08-052-10/+11
|
* Pass options to cd from udTom Ryder2015-08-051-1/+20
|
* Improve commentsTom Ryder2015-08-051-0/+6
|
* Move var declaration closer to usageTom Ryder2015-08-051-1/+2
|
* Pass bd options to cdTom Ryder2015-08-051-2/+22
|
* Remove unnecessary trailing slash stripTom Ryder2015-08-051-2/+1
|
* Much more thorough bd() implementationTom Ryder2015-08-051-14/+53
|
* Start from parent dir when stripping bd()Tom Ryder2015-08-051-1/+2
|
* Strip unneeded quotesTom Ryder2015-08-051-1/+1
|
* Fix local varTom Ryder2015-08-051-0/+1
|
* readz alias for read -d '' -rTom Ryder2015-08-041-0/+5
|
* Rename pan() to paz() (like grep -Z)Tom Ryder2015-08-042-2/+2
|
* Move database option to [mysql] sectionTom Ryder2015-07-271-1/+3
| | | | | This avoids "unknown option" errors if the files are re-used as e.g. mysqldump(1) credential files.
* More detail for pa() and pan() funcsTom Ryder2015-07-232-3/+5
|
* Add pan func ; print args with null delimiterTom Ryder2015-07-231-0/+6
|