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

[bug]: Some of snippets don't load unless .zshrc source manually #656

Open
1 task done
omnigenous opened this issue May 25, 2024 · 1 comment
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@omnigenous
Copy link

What happened?

OMZP::man

^ Some OMZP snippets don't load automatically, OMZP::sudo plugin works fine

Steps to reproduce

  1. Open terminal
  2. Type any command, ex: horse
  3. ESC+man
  4. Result: horse an, expected result: man horse
  5. Source .zshrc manually source ${ZDOTDIR:-$HOME/.config/zsh}/.zshrc
  6. Steps 2-3
  7. Successfully get man horse

Relevant output

No response

Screenshots and recordings

2024-05-25_12-17-18.mp4

Operating System & Version

OS: linux-gnu | Vendor: pc | Machine: x86_64 | CPU: x86_64 | Processor: unknown | Hardware: x86_64

Zsh version

zsh 5.9 (x86_64-pc-linux-gnu)

Terminal emulator

xterm-kitty

If using WSL on Windows, which version of WSL

None

Additional context

# Set the directory we want to store zinit and plugins
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"

# Download Zinit, if it's not there yet
if [ ! -d "$ZINIT_HOME" ]; then
   mkdir -p "$(dirname $ZINIT_HOME)"
   git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
fi

# Source/Load zinit
source "${ZINIT_HOME}/zinit.zsh"

# Add in zsh plugins
zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
zinit light Aloxaf/fzf-tab

# Add in snippets
zinit snippet OMZP::sudo
zinit snippet OMZP::man
zinit snippet OMZP::command-not-found

Code of Conduct

  • I agree to follow this project's Code of Conduct
@omnigenous omnigenous added the bug Something isn't working label May 25, 2024
@smac89
Copy link

smac89 commented Sep 3, 2024

Github has dropped support for the SVN protocol: https://github.blog/changelog/2024-01-08-subversion-has-been-sunset/

This might cause issues for people who use the svn ice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants