Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Extend "fallback" prompt a bit | Tom Ryder | 2017-01-27 | 1 | -1/+4 |
| | | | | Include username/hostname if no SSH variables | ||||
* | Add "pop" and "shift" methods to path() | Tom Ryder | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Show prompt prefix if a shell is exotic | Tom Ryder | 2017-01-25 | 1 | -0/+6 |
| | | | | | | | That is, include e.g. "ksh:" as a prefix to the prompt if the user appears to have Bash or Zsh (or anything else) as their login shell. This is probably imperfect, but it's a start. | ||||
* | Clear away all aliases for interactive shells | Tom Ryder | 2017-01-25 | 1 | -0/+5 |
| | | | | | | | | | Some systems like OpenBSD or Slackware set up well-meaning aliases that I don't want. We do this for Bash, Yash, and Zsh, but not for Ksh, because it looks like its implementations all variously use aliases to implement some POSIX builtins like fc(1) or type(1) in terms of their own builtins. | ||||
* | Be more specific in ref name trimming | Tom Ryder | 2017-01-25 | 1 | -1/+1 |
| | | | | | e.g. for a namespaced branch "foo/bar/bar", don't strip the leading part off | ||||
* | Remove SHLVL nested shell feature for now | Tom Ryder | 2017-01-24 | 1 | -6/+0 |
| | | | | | Causes a bit too much curliness in configuration; may need a more comprehensive approach. | ||||
* | Remove misplaced \0 in completion func | Tom Ryder | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Soothe a shellcheck error | Tom Ryder | 2017-01-03 | 1 | -0/+1 |
| | |||||
* | Short-circuit in rbash before even loading ENV | Tom Ryder | 2017-01-03 | 1 | -3/+4 |
| | |||||
* | Add completion for md() | Tom Ryder | 2017-01-02 | 1 | -0/+2 |
| | |||||
* | Add workaround to what looks like a bug to me | Tom Ryder | 2016-12-27 | 1 | -0/+5 |
| | |||||
* | Tell ShellCheck to ignore an error | Tom Ryder | 2016-12-27 | 1 | -0/+1 |
| | | | | | ret actually is assigned, just not in any place ShellCheck could reasonably be expected to find | ||||
* | Realised easy win avoiding subshells | Tom Ryder | 2016-12-27 | 1 | -7/+4 |
| | | | | And also the PROMPT_RETURN fudge in Bash/Zsh | ||||
* | Ignore stderr from manpath(1) check | Tom Ryder | 2016-12-25 | 1 | -1/+1 |
| | |||||
* | Use [!...] not [^...] | Tom Ryder | 2016-12-22 | 1 | -1/+1 |
| | | | | More portable | ||||
* | Fix printf argument mismatch bugs | Tom Ryder | 2016-12-21 | 2 | -2/+2 |
| | | | | What did we do before ShellCheck? | ||||
* | Use clearer logic for prompt color setting | Tom Ryder | 2016-12-21 | 1 | -8/+7 |
| | |||||
* | Exclude .doc from blacklisted extensions | Tom Ryder | 2016-12-20 | 1 | -2/+3 |
| | |||||
* | Accept all directory names for text completion | Tom Ryder | 2016-12-20 | 1 | -0/+6 |
| | |||||
* | Return not continue in text filename completion | Tom Ryder | 2016-12-20 | 1 | -5/+5 |
| |