This commit is contained in:
Bonnie I-Man Ng 2019-10-18 18:23:26 +08:00 committed by GitHub
parent 88c21b27d6
commit bd4f9c4b0e
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")
[Detailed tutoral](https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial.html)
[More examplesl](https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial.html)
```bash
complete -W "now tomorrow never" dothis
# ~$ dothis