| |
| ▲ | zahlman a day ago | parent | next [-] | | Better yet, assign the positional arguments to named variables for documentation purposes; you can see them when you `type` the function. (Comments get stripped, unless you make an actual script.) | |
| ▲ | 8note a day ago | parent | prev [-] | | thats just the same problem though, ig you arent using it regularly you are going to forget that part of your shell functions | | |
| ▲ | zahlman a day ago | parent | next [-] | | 1. Develop the instinct of "I probably have a shell function for that, if it isn't already obvious; and if I don't, I need to fix that" 2. Give your shell functions a common prefix, and/or big-endian naming convention (e.g. things that help you with git start with `@git-`) 3. Tab completion is your friend. | |
| ▲ | saghm a day ago | parent | prev [-] | | I wholeheartedly agree that it's the same, but I fundamentally disagree about it being a "problem", or at least, one worth caring about. I don't honestly believe that typing out the extra 35 characters that are filled in by the helper function I gave here would solve anything that comes close to the convenience of not needing to memorize them. |
|
|