From cf2f3b8564ce6f8295fc7396131e4fb171fbe2cf Mon Sep 17 00:00:00 2001 From: Henry Bley-Vroman Date: Mon, 17 Feb 2020 14:28:07 -0500 Subject: [PATCH] feat(scope): shorthand for --session is now -S --- README.md | 19 +++++++++---------- zsh-abbr.zsh | 16 ++++++++-------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 0c8d6acb..85ba7a7d 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Clone this repo and add `source path/to/zsh-abbr.zsh` to your `.zshrc`. # The above will in other open sessions, and in future sessions. # Add an abbreviation only available in the current terminal -% abbr -g gco[Ctrl-Space] https://en.wikipedia.org/wiki/GCO +% abbr -S gco[Ctrl-Space] https://en.wikipedia.org/wiki/GCO # (Note that Ctrl-Space opts out of space-triggered expansion) % gco[Space] # expands to `https://en.wikipedia.org/wiki/GCO` @@ -102,7 +102,7 @@ Clone this repo and add `source path/to/zsh-abbr.zsh` to your `.zshrc`. % wgco[Space] # expands to `https://en.wikipedia.org/wiki/GCO` # Delete it -% abbr -g wgco[Ctrl-Space] +% abbr -S wgco[Ctrl-Space] % wgco[Space] # no expansion # Migrate your aliases to abbreviations @@ -125,7 +125,7 @@ abbr