zsh-fast-alias-tips icon indicating copy to clipboard operation
zsh-fast-alias-tips copied to clipboard

Fix command matching

Open sei40kr opened this issue 5 years ago • 3 comments

Reproduce steps:

alias yst='yarn start'
yarn start:ja

Expected behavior:

(nothing output)

Actual behavior:

💡 yst:ja

sei40kr avatar Jul 06 '19 15:07 sei40kr

Slightly different occurrence:

alias g=git
alias gs="git status"
git status

Expected behavior:

💡 gs

Actual behavior:

💡 gstatus

owm111 avatar Dec 22 '19 20:12 owm111

Slightly different occurrence:

alias g=git
alias gs="git status"
git status

Expected behavior:

💡 gs

Actual behavior:

💡 gstatus

unable to replicate when using v0.1.0 of def-matcher

ANGkeith avatar Dec 03 '23 06:12 ANGkeith

Reproduce steps:

cat <<EOF | def-matcher "ls -G -lh -a"
ls='ls -G'
ll='ls -lh'
EOF

Expected output:

ll -a

Actual output:

ll-lh -a

ANGkeith avatar Dec 03 '23 06:12 ANGkeith