I am currently looking for a way to easily store and run commands, usually syncing files between two deeply nested directories whenever I want.
So far I found these projects:
Other solutions:
- Bash history using ^+r
- Bash aliases
- Bash functions
What do you guys use?
Fish (or zsh with some addons) will give you tab completion based on previous commands, might be something of interest?
Here’s some addon tips if you’d rather run zsh instead of fish:
https://gist.github.com/abhigenie92/a907cdf8a474aa6b569ebe89aeee560d
Fish shell is great, but the more I’ve used it, the more incompatibilities I’ve found:
Other than that, it just works by default (unlike zsh) and it works even better with an easy-to-install Tide
Yeah, it has its downsides. zsh with some addons is probably better overall. Or if you’re at least aware of it’s differences from bash and can work with that.