xxh / xxh-shell-zsh

Use zsh wherever you go through the SSH without installation on the host.
BSD 2-Clause "Simplified" License
32 stars 14 forks source link

Zsh plugins/themes are not copied to remote in seamless mode. #11

Open hurryman2212 opened 2 years ago

hurryman2212 commented 2 years ago

Local OS (where xxh is installed): Xubuntu 22.04 LTS Destination OS: Ubuntu Server 22.04 LTS xxh version: 0.8.10 xxh-plugins installed: xxh-plugin-zsh-ohmyzsh

Steps to Reproduce

  1. run source xxh.zsh vm-test +I xxh-plugin-zsh-ohmyzsh +if +q as the main README.md mentioned.
> echo $ZSH_THEME
powerlevel10k/powerlevel10k
> echo $plugins
command-not-found sudo web-search fast-syntax-highlighting zsh-autosuggestions autojump
> source xxh.zsh vm-test +I xxh-plugin-zsh-ohmyzsh +if +q
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/a/ansi: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/v/vt52: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/v/vt200: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/v/vt100: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/v/vt220: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/v/vt102: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/l/linux: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/d/dumb: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/r/rxvt: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/x/xterm-xfree86: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/x/xterm: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/x/xterm-color: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/s/screen: No such file or directory
/home/jihong_min/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/s/sun: No such file or directory
[oh-my-zsh] plugin 'fast-syntax-highlighting' not found
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
[oh-my-zsh] autojump not found. Please install it first.
[oh-my-zsh] theme 'powerlevel10k/powerlevel10k' not found
vm-test% 

For community: ⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

anki-code commented 2 years ago

Try to use https://github.com/xxh/xxh-plugin-zsh-powerlevel10k

hurryman2212 commented 2 years ago

Try to use https://github.com/xxh/xxh-plugin-zsh-powerlevel10k

I'm kinda lost here but is it working as intended by its design? Does current xxh NOT copy local user's custom plugin/theme directories and ~/.zshrc to the remote in seamless mode? Is it because the target remote architecture might be different from the host? Is there any way (option) that forces xxh seamless mode to copy local directories and settings?

miiraheart commented 3 weeks ago

is there an update on this ? I have the same issue

anki-code commented 3 weeks ago

By default there is no blind-full copying the files from local to remote.

I saw the xxh-plugin for just copying from an xxh user before. Try to find "xxh dotfiles" or something like this.