Closed wookayin closed 1 year ago
Figured out:
❯❯❯ abbr --session v=vim
-S
stands for --session
, not --scope
. It was a bit confusing, perhaps the documentation could be improved.
Glad you figured it out! You can also leave off add
: abbr -S v=vim
.
Thanks for the feedback. There's a documentation rewrite in the works, I'll take this into account. I want to make sure I'm understanding which part of the documentation you're referring to. It's what's confusing the add
line
To add a session abbreviation, use the --session or -S scope flag. Otherwise, or if the --user or -U scope flag is used, the new abbreviation will be available to all sessions.
(and the equivalent documentation in other abbr commands)?
What is the exact syntax for scopes?
The documentation says
and I tried the following:
None of these works, so I think this could be simply a bug.