Skip to content

Commit dbe9ec1

Browse files
committed
docs(add, rename): 4 sets. session > user, regular > global
1 parent 59cbdee commit dbe9ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ abbr a="b|c" # allowed
202202
203203
User-scope abbreviations can also be manually to the user abbreviations file. See the Storage documentation, below.
204204
205+
The session regular, session global, user regular, and user global abbreviation sets are independent. Order of precedence is "session command > user command > session global > user global".
206+
205207
Use `--dry-run` to see what would result, without making any actual changes.
206208
207209
#### Clear Sessions
@@ -414,6 +416,8 @@ Use the **--global** flag to rename a global abbreviation. Otherwise a command a
414416
% gm[Space] # expands to git checkout master
415417
```
416418
419+
Rename is session/user- and regular/global-specific. If you get a "no matching abbreviation" error, make sure you added the right flags.
420+
417421
Use `--dry-run` to see what would result, without making any actual changes..
418422
419423
Abbreviations can also be manually renamed in the `ZSH_USER_ABBREVIATIONS_PATH`.

0 commit comments

Comments
 (0)