harbor icon indicating copy to clipboard operation
harbor copied to clipboard

command wrappers

Open lee-b opened this issue 4 months ago • 1 comments

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.

lee-b avatar Sep 30 '24 13:09 lee-b