Coder Social home page Coder Social logo

zinit-4's People

Contributors

agkozak avatar akatrevorjay avatar alichtman avatar aloxaf avatar black7375 avatar davidosomething avatar dependabot[bot] avatar docwhat avatar findnextstep avatar foriequal0 avatar freed-wu avatar gitter-badger avatar gnumoksha avatar hallaji avatar jankatins avatar miles170 avatar nbrown avatar nicholas85 avatar pschmitt avatar psprint avatar robobenklein avatar romkatv avatar ryooooooga avatar sashaweiss avatar shayneholmes avatar tony avatar twang817 avatar vladdoster avatar xpmo avatar yutkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zinit-4's Issues

[doc]: wrong repo?

Documentation Link

No response

Problem

The README.md is referencing the zdarma-continuum repo for installation.

Suggested improvement

Link to this repo instead?

[bug]: zsh-edit doesn't load

What happened?

zinit light @marlonrichert/zsh-edit gives this error:

(anon):11: command not found: zsh-edit
(anon):unfunction:13: no such hash table element: zsh-edit

This seems to be because the shadowing autoload doesn't behave exactly like autoload. I can see there's still shadowing because zinit report marlonrichert/zsh-edit outputs:

Report for marlonrichert/zsh-edit plugin
----------------------------------------
Source zsh-edit.plugin.zsh (no reporting)
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/bind with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/zsh-edit with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/.edit.execute-cmd with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/.edit.find-replace with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/.edit.insert-word with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/.edit.move-word with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/_edit._show_clipboard with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/.edit.visual-yank with options -U -z
Autoload /home/ittay/.local/share/zinit/plugins/marlonrichert---zsh-edit/functions/zsh-edit with options -U -z
Autoload add-zsh-hook with options -U -z
Autoload zsh-edit-precmd

Completions:
_bind [enabled]
_edit._show_clipboard [enabled]

Note that even if I add a separate autoload -Uz $fdir/zsh-edit in the plugin file, then still functions like .edit.move-word that are expected are not defined.

I think there are two bugs here:

  1. the shadowed autoload is not compatible with the builtin
  2. light mode doesn't turn off shadowing.

Note that this happens also if I take a fresh .zshrc after just zinit installation

Steps to reproduce

See above

Relevant output

No response

Screenshots and recordings

No response

Operating System & Version

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

Zsh version

zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

None

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.