aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/ftp.bash
Commit message (Collapse)AuthorAgeFilesLines
* Switch compopt back outTom Ryder2015-10-211-4/+1
| | | | | 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-211-11/+14
| | | | | | | | | | | | | | * 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
* Remove unnecessary IFS definitionTom Ryder2015-06-081-1/+1
|
* Separate declaration from assignmentTom Ryder2015-06-061-3/+5
|
* Remove unnecessary null COMPREPLY assignsTom Ryder2014-11-131-1/+0
|
* Refine definition of local varTom Ryder2014-10-191-1/+2
|
* Remove some overzealous command checksTom Ryder2014-10-131-5/+0
|
* Use space before semicolon as command separatorTom Ryder2014-02-101-5/+5
|
* Check for presence of binaries before script setupTom Ryder2013-10-161-0/+5
|
* Use default completion on empty COMPREPLYTom Ryder2013-10-121-1/+2
|
* Adjust declarations of local vars in compspecsTom Ryder2013-10-121-3/+3
|
* Add .netrc completion for ftp(1)Tom Ryder2013-10-121-0/+31