aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/fnl.bash
Commit message (Collapse)AuthorAgeFilesLines
* Restore previous fnl syntax for shellcheckTom Ryder2015-12-111-2/+3
|
* Fix up some mktemp(1) templatesTom Ryder2015-11-271-3/+2
|
* Fix another comment typoTom Ryder2015-10-211-2/+2
|
* Tidy up completion considerably; no more compgenTom Ryder2015-10-211-4/+4
| | | | | | | | | | | | | | * 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
* 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