Timeline for How do I get bash completion for command aliases?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Oct 13 at 10:35 | history | suggested | wjandrea | CC BY-SA 4.0 |
Remove unnecessary dot. Fix typo of "shellcheck".
|
Oct 9 at 22:41 | review | Suggested edits | |||
S Oct 13 at 10:35 | |||||
Jun 3, 2019 at 19:58 | comment | added | Jeffery To |
"Ending" the function definition string is on purpose; the point is to include arguments from the outer function into the COMP_WORDS array. If we use make-completion-wrapper _apt_get _apt_get_install apt-get install as an example, after shift 2 , $@ contains apt-get install . The function definition includes apt-get install (the two literal words) when assigning COMP_WORDS .
|
|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
S Jan 12, 2017 at 22:35 | history | suggested | adrelanos | CC BY-SA 3.0 |
funktion -> function
|
Jan 12, 2017 at 21:22 | review | Suggested edits | |||
S Jan 12, 2017 at 22:35 | |||||
Dec 19, 2016 at 14:38 | comment | added | joelittlejohn | Doesn't work for me in Bash 4.3.46 I'm afraid. Shaun J. Goff's answer does work. | |
Sep 15, 2016 at 13:13 | history | edited | Tom Hale | CC BY-SA 3.0 |
Referenced answer I got the code from
|
Sep 15, 2016 at 13:05 | history | answered | Tom Hale | CC BY-SA 3.0 |