Replies: 1 comment
-
The relevant docs are here https://zsh-abbr.olets.dev/widgets-and-key-bindings.html // Making sure I understand:
Is that right? Did you have that working before? Does your setup do something custom with //
This bit is expected. Trailing (and leading) whitespace matters in abbreviations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
can you please help?
I'm sure I've read in the docs about the ' ' being used to delimit and expand abbreviations -- I can't seem to find it now and I've obviously done something to mess up the default behaviour.
For clarity, and as an example:
'
"eza"="eza --classify --color=always --color-scale --group-directories-first --hyperlink --icons"
"l"="eza"
'
with the above abbreviations -- I need to hit
<return>
immediately after the abbreviation, in order to get expansion and execution.If I try to type a traiiing
<space>
, there is no expansion preview. Moreover, expansion now fails for execution.So:
l<return>
expands and runseza
successfully.BUT
l<space><return>
produces"zsh: command not found: l"
.Beta Was this translation helpful? Give feedback.
All reactions