AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mac git bash completion5/4/2023 ![]() What this says is that if you type mycommand and then hit the tab, you will get a choice of words which are $ mycommand Īnd now if you type in partials like mycommand h it will complete it for you. ![]() The real magic here is a bash command called, completion what this does is pretty simple, just run the bash command (there are similar ones for fish and zsh: complete -W "help list execute" mycommand This means that you can type say ls and then when you hit the tab, you get a list of all the files. One of the advances features of shells is what is called Tab Completion. OK I admit it I’ve gotten kind of spoiled. So don’t bother reading unless you have this exact problem. A new feature, I’m labeling my really nerdy programming hacks.
0 Comments
Read More
Leave a Reply. |