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

Partial alias use prevents discovery of a better alias #115

Open
1 of 4 tasks
MTCoster opened this issue Jul 6, 2022 · 2 comments
Open
1 of 4 tasks

Partial alias use prevents discovery of a better alias #115

MTCoster opened this issue Jul 6, 2022 · 2 comments

Comments

@MTCoster
Copy link

MTCoster commented Jul 6, 2022

Issue Details

Please provide the following details when opening an issue:

Operating System (uname -a)

Darwin <redacted> 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64

zsh version (zsh --version)

zsh 5.9 (x86_64-apple-darwin21.3.0)

you-should-use version (echo "$YSU_VERSION")

1.7.3

How is zsh-you-should-use installed?

  • zplug
  • oh-my-zsh
  • Antigen
  • Other (please specify)

Steps to reproduce the issue

  1. Define two alias:
  • alias g='git'
  • alias gl='git pull'
  1. Try these three examples:
  • $ gl => no YSU output (expected)
  • $ g pull => no YSU output (I expected YSU to suggest gl)
  • $ git pull => YSU suggests gl

gist link to your zshrc

https://gist.github.com/MTCoster/896bb0b57a9d39baab4d83dbca431a7d

@nikklassen
Copy link

I would also like to see this improvement

@will-lynas
Copy link

+1

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