Skip to content

Commit 9cba51e

Browse files
committed
style(bindings): rename variable
1 parent 4022da9 commit 9cba51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: zsh-abbr.zsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ABBR_UNIVERSALS_SOURCE="${ABBR_UNIVERSALS_SOURCE="${HOME}/.zsh_abbrs"}"
1818
# Whether to add default bindings (expand on SPACE, expand and accept on ENTER,
1919
# add CTRL for normal SPACE/ENTER; in incremental search mode expand on CTRL+SPACE)
20-
ABBRS_DEFAULT_BEHAVIOR="${ABBRS_DEFAULT_BEHAVIOR=true}"
20+
ABBRS_DEFAULT_BINDINGS="${ABBRS_DEFAULT_BINDINGS=true}"
2121

2222
# INITIALIZE
2323
# ----------
@@ -42,7 +42,7 @@ mktemp "$ABBRS_UNIVERSAL_SCRATCH_FILE" 1> /dev/null
4242
typeset -p ABBRS_UNIVERSAL > "$ABBRS_UNIVERSAL_SCRATCH_FILE"
4343

4444
# Bind
45-
if [ "$ABBRS_DEFAULT_BEHAVIOR" = true ]; then
45+
if [ "$ABBRS_DEFAULT_BINDINGS" = true ]; then
4646
# spacebar expands abbreviations
4747
zle -N _zsh_abbr_expand_space
4848
bindkey " " _zsh_abbr_expand_space

0 commit comments

Comments
 (0)