Use 'type' To Figure Out Which File A bash Function Is In
I write a bunch of little functions for frequently used command line commands. For example, I have this for browser - sync in my dotfiles :
bash
The problem is I can never remember I put those file.
Using [TODO: Code shorthand span ] or [TODO: Code shorthand span ] doesn't show the file location. Just the function or its name.
[TODO: Code shorthand span ] gets you to the file path though :
bash
Footnotes And References
- •