aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/ssh.bash
Commit message (Collapse)AuthorAgeFilesLines
* Switch to a faster method of array appendingTom Ryder2015-12-141-2/+2
| | | | | Does away with the nasty hack around man page discovery, and still compatible with Bash 2.05a
* 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
* Separate declaration from assignmentTom Ryder2015-06-061-1/+2
|
* Move scp wrapper into its own fileTom Ryder2015-04-021-9/+0
|
* Include system-wide ssh config in completionTom Ryder2015-03-251-12/+10
| | | | Also, let the shell do the complaining if the file can't be read
* Remove unnecessary null COMPREPLY assignsTom Ryder2014-11-131-1/+0
|
* Remove some overzealous command checksTom Ryder2014-10-131-5/+0
|
* Use one-arg form of printf for static stringsTom Ryder2014-07-021-1/+1
|
* Use space before semicolon as command separatorTom Ryder2014-02-101-4/+4
|
* Wrap scp with function to check for colonTom Ryder2014-01-091-0/+9
|
* 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-2/+2
|
* Fix comment typoTom Ryder2013-09-151-1/+1
|
* Better syntax for array appendTom Ryder2013-09-091-1/+1
|
* Forgot a couple of array declarationsTom Ryder2013-09-011-1/+1
|
* More sensible use of localTom Ryder2013-09-011-4/+4
| | | | | | Don't declare integers/arrays, just use them. Also includes a minor scope fix -- don't need to count number of colors on every call to prompt(), just for `prompt on`.
* Remove scp completionTom Ryder2013-09-011-7/+0
| | | | Found it more trouble than it was worth
* Move SSH completion into its own fileTom Ryder2013-09-011-0/+31