We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4022da9 commit 9cba51eCopy full SHA for 9cba51e
zsh-abbr.zsh
@@ -17,7 +17,7 @@
17
ABBR_UNIVERSALS_SOURCE="${ABBR_UNIVERSALS_SOURCE="${HOME}/.zsh_abbrs"}"
18
# Whether to add default bindings (expand on SPACE, expand and accept on ENTER,
19
# add CTRL for normal SPACE/ENTER; in incremental search mode expand on CTRL+SPACE)
20
-ABBRS_DEFAULT_BEHAVIOR="${ABBRS_DEFAULT_BEHAVIOR=true}"
+ABBRS_DEFAULT_BINDINGS="${ABBRS_DEFAULT_BINDINGS=true}"
21
22
# INITIALIZE
23
# ----------
@@ -42,7 +42,7 @@ mktemp "$ABBRS_UNIVERSAL_SCRATCH_FILE" 1> /dev/null
42
typeset -p ABBRS_UNIVERSAL > "$ABBRS_UNIVERSAL_SCRATCH_FILE"
43
44
# Bind
45
-if [ "$ABBRS_DEFAULT_BEHAVIOR" = true ]; then
+if [ "$ABBRS_DEFAULT_BINDINGS" = true ]; then
46
# spacebar expands abbreviations
47
zle -N _zsh_abbr_expand_space
48
bindkey " " _zsh_abbr_expand_space
0 commit comments