Score:2

How to remove a particular bin from path/auto-complete?

kz flag

I don't have sudo privileges on my work laptop and tmuxinator is installed, but I wish to use tmuxifier instead. I successfully installed the latter (without needing sudo by using git), but now, annoyingly, I can't type tmuxi, then hit Tab in the terminal and have it resolve to tmuxifier, as it's ambiguous.

tmuxinator is installed inside /usr/..., so I don't have permission to rename it.

What's the quickest/cleanest way to have tmuxi- resolve to tmuxifier without the ability to uninstall or move tmuxinator?

muru avatar
us flag
https://unix.stackexchange.com/q/314631/70524
Score:4
ru flag

As @muru suggested, use the bash variable EXECIGNORE to ignore tmuxinator. Add it at the end of your .bashrc file with:

echo 'EXECIGNORE="*/tmuxinator:$EXECIGNORE"' >> ~/.bashrc

Then relaunch your terminal and you’re done.

Note: Here we append the $EXECIGNORE variable to not erase its content.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.