Skip to content

Commit

Permalink
fix(session abbreviations): do not unintentionally clear
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Jun 14, 2020
1 parent 2b5de18 commit 113ffc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh-abbr.zsh
Expand Up @@ -1069,6 +1069,8 @@ _abbr_init() {
}

job=$(_abbr_job_name)
REGULAR_SESSION_ABBREVIATIONS=()
GLOBAL_SESSION_ABBREVIATIONS=()

_abbr_job_push $job initialization
_abbr_init:clean
Expand Down Expand Up @@ -1182,8 +1184,6 @@ _abbr_load_user_abbreviations() {
function _abbr_load_user_abbreviations:setup() {
(( ABBR_DEBUG )) && _abbr_echo $funcstack[1]

REGULAR_SESSION_ABBREVIATIONS=()
GLOBAL_SESSION_ABBREVIATIONS=()
REGULAR_USER_ABBREVIATIONS=()
GLOBAL_USER_ABBREVIATIONS=()

Expand Down

0 comments on commit 113ffc6

Please sign in to comment.