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]: loading plugins changes PWD #543

Open
1 task done
NightMachinery opened this issue Jun 29, 2023 · 1 comment
Open
1 task done

[bug]: loading plugins changes PWD #543

NightMachinery opened this issue Jun 29, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NightMachinery
Copy link

What happened?

When loading plugins, PWD is changed.

zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting

causes PWD to become ~/-M fsh_sy_h_append 2 2 -fsh_sy_h_shappend .

Steps to reproduce

_

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 (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
@NightMachinery NightMachinery added the bug Something isn't working label Jun 29, 2023
@vladdoster
Copy link
Member

@NightMachinery,

I can't seem to reproduce this bug. How did you isolate the issue to the two plugins you specified?

Screenshot 2023-08-20 at 02 05 42

Could you respond with the output of following commands?

+zi-log "{m} current dir: $PWD"
+zi-log "{m} dirs: {nl} $(dirs)"
+zi-log "{m} options: {nl} $(setopt)"
+zi-log "{nl}"
zi delete --all --yes
zi zstatus
zi load zsh-users/zsh-autosuggestions
zi load zdharma-continuum/fast-syntax-highlighting
zi plugins
zi zstatus
+zi-log "{nl}"
+zi-log "{m} current dir: $PWD"
+zi-log "{m} dirs: {nl} $(dirs)"
+zi-log "{m} options: {nl} $(setopt)"

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

2 participants