GiselleSerate / myaliases

Useful shell aliases and functions.
6 stars 1 forks source link

investigate tab completion for alias commands #43

Closed GiselleSerate closed 6 years ago

GiselleSerate commented 6 years ago

This sounds really involved to do manually. Does normal alias do this? How does it do this?

aryarm commented 6 years ago

An understanding of bash tab completions continues to elude me. There are three different systems I've encountered that all seem to do things differently: knuth, my phone, and my laptop. A little bit of a breakthrough came when I played around with cds tab completion a while back. I'll document a few things I learned for posterity. Hopefully they can shed some light on how normal alias gets its completions too.

GiselleSerate commented 6 years ago

Okay, tab completion was a little enthusiastic. Alias doesn't do any tab completing. (I don't know where it would . . .) So we're going to call this a case of Tab Completion Isn't Duct Tape and close this issue.