aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/completion.bash
Commit message (Collapse)AuthorAgeFilesLines
* Break sh noglob guard into two lines for clarityTom Ryder2018-06-291-1/+2
| | | | They're nicer to read this way.
* Quote all Bash completion targets literallyTom Ryder2017-11-081-45/+46
| | | | | | This helps ShellCheck understand them as literal strings for linting purposes, but it seems (and highlights) a little bit clearer this way anyway.
* Add "do", "then" keywords to Bash completionTom Ryder2017-11-061-0/+2
| | | | | | | | | | The Bash keywords "do" and "then" will be followed by another command. Adding them to this list means that pressing tab after "if foo ; then b" will complete for all command names beginning with "b". I was actually a little surprised that this worked, but there isn't really any reason to be; they're shell words just like everything else, not metasyntactic characters or anything like that.
* Break bash/bashrc.d/completion.bash inline listsTom Ryder2017-11-061-19/+66
| | | | | | | Break the sometimes long list of target keywords after the `complete` builtin and its options into newline-separated lists. This should make reading these lists a little easier, and also confuses Vim's syntax highlighting somewhat less.
* Revert "Use backslash to escape single char"Tom Ryder2017-02-171-2/+2
| | | | | | This reverts commit 245c2d6647e34fb432066360499ed02c5711271c. shellcheck worries about this.
* Use backslash to escape single charTom Ryder2017-02-121-2/+2
|
* Break a long lineTom Ryder2017-02-101-1/+2
|
* Improve and correct some commentsTom Ryder2017-02-101-4/+4
|
* Start using Bash host completionTom Ryder2017-01-281-0/+4
| | | | But use ~/.hosts if it's there
* Add % prefix to job spec completionTom Ryder2016-10-041-2/+2
|
* Completion for aliasesTom Ryder2016-09-231-1/+4
|
* Complete kill builtin with jobspecs and user PIDsTom Ryder2016-09-051-1/+1
|
* Flesh out builtin completions a littleTom Ryder2016-09-051-7/+8
|
* Correct completions for declare, typeset etcTom Ryder2016-09-011-4/+1
| | | | All of them can accept function names
* Add mapfile to completions (conditional on vers)Tom Ryder2016-08-291-0/+3
|
* Move COMP_WORDBREAKS tweaks to completion subfileTom Ryder2016-08-291-0/+5
|
* Many stylistic fixes/optimisationsTom Ryder2016-08-211-0/+3
| | | | In particular, limit the verbose >=2.05 test to just one file: .bashrc
* Use dynamic completion if availableTom Ryder2016-08-211-0/+57
|
* Move bash completion setup into separate dirTom Ryder2016-07-301-38/+0
|
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Remove alias completionTom Ryder2015-07-031-4/+1
|
* bg completion only for stopped jobsTom Ryder2014-03-181-1/+2
|
* Refine completions with builtin compspecsTom Ryder2013-10-211-12/+32
|
* Remove sudo completionTom Ryder2013-09-211-3/+0
| | | | Has suggested duplicate and sometimes mildly dangerous things sometimes
* Add file completion to exec/sudoTom Ryder2013-09-011-2/+2
|
* Complete exec with commandsTom Ryder2013-09-011-2/+2
|
* Move SSH completion into its own fileTom Ryder2013-09-011-31/+0
|
* Add command completion for sudoTom Ryder2013-08-311-0/+3
|
* Add help completionTom Ryder2013-08-291-0/+3
|
* Committing start at basic completionTom Ryder2013-08-291-0/+49