3 ms·
There is also the other advantage pointed out in the article, in that typing a comma and hitting tab lists all his custom commands.
by cortesoft 7y ago
There is also the other advantage pointed out in the article, in that typing a comma and hitting tab lists all his custom commands.
- Seirdy 7y agoAll my scripts are in one directory [0] that's added to the front of my $PATH [1]; listing files in it would be trivial. The author's solution does seem much better; I just use my approach instead because I don't like the feeling of typing a leading comma :). I might switch to using a leading char sometime. [0]: https://git.sr.ht/~seirdy/dotfiles/tree/master/Executables/shell-scripts/bin https://git.sr.ht/~seirdy/dotfiles/tree/master/Executables/s... [1]: https://git.sr.ht/~seirdy/dotfiles/tree/master/startup.sh#L165 https://git.sr.ht/~seirdy/dotfiles/tree/master/startup.sh#L1...