Open
Description
Local OS (where xxh is installed): WSL with Ubuntu 20.04 under Windows 11 23H2
Destination host OS: local
xxh version: 0.8.14
xxh-plugins installed: none
Steps to Reproduce
- I run
source xxh.zsh local +v +I xxh-plugin-zsh-ohmyzsh +if +q
- The output log:
usage: xxh <host from ~/.ssh/config>
usage: xxh [ssh arguments] [user@]host[:port] [xxh arguments]
usage: xxh local [xxh arguments]
usage: xxh [-p SSH_PORT] [-l SSH_LOGIN] [-i SSH_PRIVATE_KEY] [-J SSH_JUMP_HOST]
[-o SSH_OPTION -o ...] [+c SSH_COMMAND] [+P PASSWORD] [+PP]
[user@]host[:port]
[+i] [+if] [+iff] [+hhr] [+s SHELL] [+e NAME=VAL +e ...] [+v] [+vv] [+q]
[+hh HOST_XXH_HOME] [+hhh HOST_HOME] [+hf HOST_EXEC_FILE] [+hc HOST_EXEC_CMD]
[+xc CONFIG_FILE] [+lh LOCAL_XXH_HOME] [-h] [-V]
usage: xxh [+I xxh-package +I ...] [+L] [+RI xxh-package +RI ...] [+R xxh-package +R ...]
xxh: error: unrecognized arguments: local
- The problem is, I cannot take my zsh config with me to the destination host.
Further info
Running xxh local +v +I xxh-plugin-zsh-ohmyzsh +if +q
results in:
Something went wrong while running zsh on host:
./zsh.sh: 24: export: Files/Eclipse: bad variable name
/home/johann/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh.sh: 24: export: Files/Eclipse: bad variable name
Running xxh +v local +s zsh
results in:
Load xxh config from /home/johann/.config/xxh/config.xxhc
ssh arguments: ['-o', 'StrictHostKeyChecking=accept-new']
Host info:
xxh_home_realpath=/home/johann/.xxh
xxh_version=0.8.14
xxh_shell_exists=1
xxh_home_writable=1
xxh_parent_home_writable=1
rsync=/usr/bin/rsync
scp=/usr/bin/scp
shell=/usr/bin/zsh
kernel=Linux
arch=x86_64
Something went wrong while running zsh on host:
./zsh.sh: 24: export: Files/Eclipse: bad variable name
/home/johann/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh.sh: 24: export: Files/Eclipse: bad variable name
Running xxh +v local +s bash
works:
Load xxh config from /home/johann/.config/xxh/config.xxhc
ssh arguments: ['-o', 'StrictHostKeyChecking=accept-new']
Host info:
xxh_home_realpath=/home/johann/.xxh
xxh_version=0.8.14
xxh_shell_exists=1
xxh_home_writable=1
xxh_parent_home_writable=1
rsync=/usr/bin/rsync
scp=/usr/bin/scp
shell=/usr/bin/bash
kernel=Linux
arch=x86_64
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
johann@workstation:~$
For community:
⬇️ Please click the 👍 reaction instead of leaving a +1
or 👍 comment
Metadata
Metadata
Assignees
Labels
No labels