4 ms·
I do basically the same thing with any aliases or commands that I have just for me. Except I prefix with _ (an underscore.) Having some sort of prefix is extrem
by dan353hehe 4y ago
I do basically the same thing with any aliases or commands that I have just for me. Except I prefix with _ (an underscore.) Having some sort of prefix is extremely nice as it ensures you never override a built-in on accident, AND it makes it easy to tab complete just the ones that you want.
For example I have ‘_f’ aliased to a fuzzy find command that will launch vim on the selected files, and a different one for launching sql clients to various servers etc.
As a prefix, commas work great!
- simias 4y agoUnfortunately zsh uses the underscore prefix heavily, _<TAB> results in hundreds of possible completions.