Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command wrappers #49

Open
lee-b opened this issue Sep 30, 2024 · 1 comment
Open

command wrappers #49

lee-b opened this issue Sep 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lee-b
Copy link

lee-b commented Sep 30, 2024

I made this little script:

$ cat harbor-cmd-alias
#!/bin/bash

PROGNAME=$(basename "$0")

exec harbor "$PROGNAME" "$@"

and in ~/.local/bin/, I have the following symlinks:

aichat->harbor-cmd-alias
aider->harbor-cmd-alias
bench->harbor-cmd-alias
cmdh->harbor-cmd-alias
fabric->harbor-cmd-alias
harbor-cmd-alias
hf->harbor-cmd-alias
ollama->harbor-cmd-alias
openhands->harbor-cmd-alias
opint->harbor-cmd-alias
parllama->harbor-cmd-alias
plandex->harbor-cmd-alias

Which seems to work just fine. Would suggest something similar as a built-in feature, with automatic symlink updates.

@av
Copy link
Owner

av commented Sep 30, 2024

This is a good idea and is something I've been considering to add on the opt-in basis, in order to avoid messing up with any of the binaries the user might have installed natively

@av av added the enhancement New feature or request label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants