MichaelAquilina / zsh-you-should-use

πŸ“Ž ZSH plugin that reminds you to use existing aliases for commands you just typed
GNU General Public License v3.0
1.41k stars 44 forks source link

Tests failing without modifications #132

Closed p1r473 closed 1 month ago

p1r473 commented 1 month ago

Issue Details

Hi, I am getting 3 tests failing on a vanilla clone of the repo (with no modifications) Ive tried this in zsh -f with zsh disabled (no .zshrc loaded) and it still fails

✘ git aliases substring match
  '' does not contain 'Found existing git alias for "config". You should use: "git cfg"'

✘ git aliases exact match
  '' does not contain 'Found existing git alias for "status". You should use: "git st"'

✘ git aliases match parameters
  '' does not contain 'Found existing git alias for "commit --amend --reuse-message=HEAD". You should use: "git recommit"'

Please provide the following details when opening an issue:

Operating System (uname -a)

Bookworm 12 Linux 6.6.28+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux

zsh version (zsh --version)

zsh 5.9 (aarch64-unknown-linux-gnu)

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

1.7.3

How is zsh-you-should-use installed?

MichaelAquilina commented 1 month ago

hmm that is quite strange actually, I cant understand why it wouldnt be capturing output. What version of zunit are you on?

MichaelAquilina commented 1 month ago

I can actually see I have the same issue - something must have broken recently. I'll try look into it today

MichaelAquilina commented 1 month ago

Should be working if you pull the latest changes :)