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

seamless mode not working with plugins #8

Open
zappbrannigan34 opened this issue Jun 11, 2024 · 3 comments
Open

seamless mode not working with plugins #8

zappbrannigan34 opened this issue Jun 11, 2024 · 3 comments

Comments

@zappbrannigan34
Copy link

image

Local OS (where xxh is installed):
ubuntu jammy
Destination host OS:
almalinux
xxh version:
xxh/0.8.14
xxh-plugins installed:
ls -lah .xxh/.xxh/plugins
total 12K
drwxr-xr-x 3 root root 4.0K Jun 11 13:45 .
drwxr-xr-x 4 root root 4.0K Jun 11 13:46 ..
drwxr-xr-x 5 root root 4.0K Jun 11 13:45 xxh-plugin-zsh-ohmyzsh
Steps to Reproduce

  1. brew install
  2. [oh-my-zsh] plugin 'zsh-autosuggestions' not found
  3. plugins not copied

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

@anki-code
Copy link
Member

It will be cool to add the installation of plugins during build here -

git clone $arg_q --depth 1 https://github.com/robbyrussell/oh-my-zsh.git $ohmyzsh_home

PR is welcome!

@Gdenich
Copy link

Gdenich commented Aug 30, 2024

Exactly the same problem here on macOS 14.5:

 ~ xxh +I xxh-plugin-zsh-ohmyzsh && source xxh.zsh user@host
Package exists, skip install: /Users/user/.xxh/.xxh/plugins/xxh-plugin-zsh-ohmyzsh
[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
[oh-my-zsh] fzf plugin: Cannot find fzf installation directory.
Please add `export FZF_BASE=/path/to/fzf/install/dir` to your .zshrc

@Gdenich
Copy link

Gdenich commented Aug 30, 2024

It tuns out that "zsh-syntax-highlighting" plugin and "zsh-autosuggestions" plugin are installed under ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting and ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions.

So i copied these plugin folders from ~/.oh-my-zsh/custom/plugins to ~/.xxh/.xxh/plugins/xxh-plugin-zsh-ohmyzsh/build/ohmyzsh/custom/plugins.
Then I removed the .xxh folder on the remote machine and log in to remote machine with source xxh.zsh user@host

So everything works now for "zsh-syntax-highlighting" plugin and "zsh-autosuggestions" plugin.
In order fzf to work, I simply installed fzf pluging with sudo apt install fzf on remote machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants