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

Strange behavior when aliasing echo #779

Open
rennsax opened this issue Jan 30, 2024 · 1 comment
Open

Strange behavior when aliasing echo #779

rennsax opened this issue Jan 30, 2024 · 1 comment

Comments

@rennsax
Copy link

rennsax commented Jan 30, 2024

Describe the bug

When aliasing echo, the suggestions become strange.

To Reproduce

Steps to reproduce the behavior:

% zsh -df
% source path/to/zsh-autosuggestions.zsh
% alias echo='echo 123'
% # type any string

Screenshots

bug

Additional context

I've tried it in a docker container and the problem remains.

@rennsax rennsax added the bug label Jan 30, 2024
@krugergui
Copy link

krugergui commented Mar 9, 2024

I like to use 'alias echo="echo -n"' and it completely breaks zsh-autosuggestion.

Edit:
For my special use case I changed:

echo $sysparams[pid]

to

/usr/bin/echo $sysparams[pid]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants