Skip to content

Commit

Permalink
fix(expansion widget): abbreviations can end in n or t
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Jan 19, 2020
1 parent 1551199 commit 16feffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-abbr.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function _zsh_abbr_expansion() {
function _zsh_abbr_expand_widget() {
local abbreviation
local expansion
abbreviation="${LBUFFER/*[ ,;|&\n\t]/}"
abbreviation="${LBUFFER/*[ ,;|&]/}"
expansion=$(_zsh_abbr_expansion "$abbreviation")

if [[ -n "$expansion" ]]; then
Expand Down

0 comments on commit 16feffe

Please sign in to comment.