Comment by cortesoft
6 years 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.
6 years 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.
All 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/s...
[1]: https://git.sr.ht/~seirdy/dotfiles/tree/master/startup.sh#L1...