This commit is contained in:
Bonnie I-Man Ng 2019-10-18 18:24:12 +08:00 committed by GitHub
parent bd4f9c4b0e
commit ca02a5bccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2190,7 +2190,7 @@ hostnamectl set-hostname "mynode"
[[back to top](#handy-bash-one-liners)]
##### Bash auto-complete (e.g. show options "now tomorrow never" when you press'tab' after typing "dothis")
[More examplesl](https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial.html)
[More examples](https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial.html)
```bash
complete -W "now tomorrow never" dothis
# ~$ dothis