aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/vr.bash
Commit message (Collapse)AuthorAgeFilesLines
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Strip trailing whitespaceTom Ryder2015-10-211-1/+1
|
* Tidy up completion considerably; no more compgenTom Ryder2015-10-211-2/+2
| | | | | | | | | | | | | | * 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
* Separate declaration from assignmentTom Ryder2015-06-061-2/+4
|
* Avoid command substitution inline declarationTom Ryder2015-06-061-2/+4
|
* Use consistent [[ syntaxTom Ryder2015-06-041-6/+6
| | | | Explicit -n, ! within [[
* Add missing error exit conditions to vr()Tom Ryder2015-05-291-3/+3
|
* vr func for moving to VCS rootTom Ryder2015-05-111-0/+57