Added better hermes-cp function to send folder
This commit is contained in:
12
zsh/.zshrc
12
zsh/.zshrc
@@ -20,7 +20,17 @@ alias emacs="emacsclient -c -a emacs"
|
||||
alias oc="opencode"
|
||||
|
||||
# Hermes Agent - SSH directly to remote server
|
||||
alias hermes="ssh -t lazyworkhorse 'docker exec -it hermes /opt/hermes/.venv/bin/hermes'"
|
||||
hermes() {
|
||||
if [[ -n "$1" ]]; then
|
||||
ssh -t lazyworkhorse \
|
||||
"docker exec -e HERMES_HONCHO_PEER_NAME=$1 -it hermes \
|
||||
/opt/hermes/.venv/bin/hermes --profile $1"
|
||||
else
|
||||
ssh -t lazyworkhorse \
|
||||
"docker exec -e HERMES_HONCHO_PEER_NAME=thierry -it hermes \
|
||||
/opt/hermes/.venv/bin/hermes"
|
||||
fi
|
||||
}
|
||||
|
||||
hermes-cp() {
|
||||
if [ $# -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user