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