Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use array+=() syntax in two Bash completion files | Tom Ryder | 2018-12-01 | 2 | -2/+2 | |
| | | | | | Since these only load with Bash >=4.0, we may as well use the nicer method of adding to arrays. | |||||
* | Remove null-result guard from completion gens | Tom Ryder | 2018-12-01 | 7 | -56/+14 | |
| | | | | I don't believe these are needed anymore, or possibly ever were. | |||||
* | Use simpler method of no case completion check | Tom Ryder | 2018-12-01 | 7 | -77/+42 | |
| | ||||||
* | Overhaul `keep` completion | Tom Ryder | 2018-12-01 | 1 | -58/+43 | |
| | ||||||
* | Simplify an array operation in `bd` completion | Tom Ryder | 2018-12-01 | 1 | -1/+1 | |
| | ||||||
* | Overhaul text filename generation | Tom Ryder | 2018-12-01 | 1 | -57/+132 | |
| | ||||||
* | Use full `if` condition for SSH hostname comp src | Tom Ryder | 2018-12-01 | 3 | -3/+6 | |
| | ||||||
* | Use full `if` condition for _text_filename source | Tom Ryder | 2018-12-01 | 9 | -13/+20 | |
| | ||||||
* | Overhaul ssh_config hosts completion | Tom Ryder | 2018-12-01 | 1 | -18/+44 | |
| | ||||||
* | Use more idiomatic short-circuit for -r in bashrc | Tom Ryder | 2018-12-01 | 1 | -3/+1 | |
| | ||||||
* | Suppress a couple of ShellCheck errors | Tom Ryder | 2018-11-30 | 2 | -0/+2 | |
| | ||||||
* | Remove redundant return short-circuit | Tom Ryder | 2018-11-30 | 1 | -1/+1 | |
| | ||||||
* | Add explanatory comments for version check | Tom Ryder | 2018-11-30 | 1 | -3/+3 | |
| | ||||||
* | Use ||/&& short-circuiting only for flow control | Tom Ryder | 2018-11-30 | 4 | -28/+61 | |
| | | | | | If we're doing something besides return/exit, it should be a proper `if` condition so that the semantics are clearer. | |||||
* | Drop support for Bash <= 3.0 | Tom Ryder | 2018-11-30 | 14 | -95/+15 | |
| | | | | | | This allows removing a fair bit of boilerplate checking for the availability of `-o bashdefault` for the `complete` builtin, and greatly simplifies the minimum version check. | |||||
* | Add left-parens to inner case statements | Tom Ryder | 2018-10-31 | 9 | -18/+18 | |
| | | | | | This helps older versions of Bash understand that the surrounding subshell isn't terminating. | |||||
* | Add missing ;; terminators | Tom Ryder | 2018-10-31 | 9 | -0/+9 | |
| | ||||||
* | Respect completion-ignore-case in custom functions | Tom Ryder | 2018-10-30 | 9 | -0/+129 | |
| | | | | | | This involves a little too much boilerplate for my liking, but it's still an improvement over what I had before. I might find a way to make this into a generic function. | |||||
* | Add .m4a to text filenames completion skips | Tom Ryder | 2018-08-22 | 1 | -2/+2 | |
| | ||||||
* | Stamp down three new ShellCheck 0.5.0 errors | Tom Ryder | 2018-07-25 | 2 | -2/+2 | |
| | | | | All of these are false positives. | |||||
* | Break sh noglob guard into two lines for clarity | Tom Ryder | 2018-06-29 | 3 | -3/+6 | |
| | | | | They're nicer to read this way. | |||||
* | Correct typo in .bashrc | Tom Ryder | 2018-06-29 | 1 | -1/+1 | |
| | ||||||
* | Quote all Bash completion targets literally | Tom Ryder | 2017-11-08 | 1 | -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 completion | Tom Ryder | 2017-11-06 | 1 | -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 lists | Tom Ryder | 2017-11-06 | 1 | -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. | |||||
* | Escape backslashes in command prompt output | Tom Ryder | 2017-07-05 | 1 | -4/+10 | |
| | | | | | | To stop them getting interpreted as \h, \w etc. None of these *should* be able to emit backslashes (it's an illegal branch name), but best to be thorough. | |||||
* | Remove user@ prefix from prompt | Tom Ryder | 2017-06-19 | 1 | -2/+2 | |
| | ||||||
* | Allow setting a prompt mode for the shell | Tom Ryder | 2017-06-16 | 1 | -2/+2 | |
| | ||||||
* | Unset command_not_found_handle in Bash startup | Tom Ryder | 2017-06-10 | 1 | -0/+3 | |
| | ||||||
* | Remove ad() | Tom Ryder | 2017-05-26 | 1 | -2/+0 | |
| | | | | It has no real advantages over and isn't as clever as just cd /a*/b*/c* | |||||
* | Correct comment spelling error | Tom Ryder | 2017-05-26 | 1 | -1/+1 | |
| | ||||||
* | Fix up completions for td(1df) | Tom Ryder | 2017-05-23 | 1 | -4/+11 | |
| | | | | Hung on null completion | |||||
* | Handle POSIX correctness in ~/.bash_profile | Tom Ryder | 2017-03-31 | 1 | -0/+7 | |
| | ||||||
* | Remove error-prone git-add(1) completion | Tom Ryder | 2017-02-26 | 1 | -23/+0 | |
| | | | | Just files and directories will do fine | |||||
* | Revert "Use backslash to escape single char" | Tom Ryder | 2017-02-17 | 1 | -2/+2 | |
| | | | | | | This reverts commit 245c2d6647e34fb432066360499ed02c5711271c. shellcheck worries about this. | |||||
* | Correct comment in `source` completion | Tom Ryder | 2017-02-13 | 1 | -1/+1 | |
| | ||||||
* | Add chgrp(1) completion | Tom Ryder | 2017-02-13 | 1 | -0/+20 | |
| | ||||||
* | Use backslash to escape single char | Tom Ryder | 2017-02-12 | 1 | -2/+2 | |
| | ||||||
* | More accurate commend for hostcomplete (turn off) | Tom Ryder | 2017-02-12 | 1 | -2/+2 | |
| | ||||||
* | Add mail(1)/mutt(1) abook address completion | Tom Ryder | 2017-02-12 | 3 | -0/+30 | |
| | ||||||
* | Use bashdefault if available in more completions | Tom Ryder | 2017-02-12 | 8 | -8/+56 | |
| | ||||||
* | Break a long line | Tom Ryder | 2017-02-10 | 1 | -2/+2 | |
| | ||||||
* | Break a long line | Tom Ryder | 2017-02-10 | 1 | -1/+2 | |
| | ||||||
* | Improve and correct some comments | Tom Ryder | 2017-02-10 | 2 | -28/+30 | |
| | ||||||
* | Add completion for finger(1) | Tom Ryder | 2017-01-28 | 1 | -0/+2 | |
| | ||||||
* | Use FUNCNAME for self-refs in Git completion | Tom Ryder | 2017-01-28 | 1 | -9/+9 | |
| | ||||||
* | Add openssl(1ssl) completion | Tom Ryder | 2017-01-28 | 1 | -0/+32 | |
| | ||||||
* | Fix nc(1) completions, add nmap(1) completions | Tom Ryder | 2017-01-28 | 3 | -2/+6 | |
| | ||||||
* | Add host completion for some common tools | Tom Ryder | 2017-01-28 | 5 | -0/+10 | |
| | ||||||
* | Start using Bash host completion | Tom Ryder | 2017-01-28 | 2 | -2/+6 | |
| | | | | But use ~/.hosts if it's there |