File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,8 @@ _agkozak_has_usr1() {
471471# AGKOZAK_TRAPUSR1_FUNCTION
472472# ###########################################################
473473_agkozak_async_init () {
474- setopt LOCAL_OPTIONS NO_KSH_ARRAYS NO_SH_WORD_SPLIT EXTENDED_GLOB
474+ emulate -L zsh
475+ setopt LOCAL_OPTIONS EXTENDED_GLOB NO_LOCAL_TRAPS
475476
476477 # WSL should have BG_NICE disabled, since it does not have a Linux kernel
477478 if [[ -e /proc/version ]]; then
@@ -907,7 +908,8 @@ _agkozak_prompt_string () {
907908# AGKOZAK_PROMPT_DIRTRIM
908909# ###########################################################
909910() {
910- setopt LOCAL_OPTIONS NO_KSH_ARRAYS NO_SH_WORD_SPLIT WARN_CREATE_GLOBAL
911+ emulate -L zsh
912+ setopt LOCAL_OPTIONS WARN_CREATE_GLOBAL
911913
912914 _agkozak_async_init
913915
You can’t perform that action at this time.
0 commit comments