Horje
Because you can never quite anticipate in which environment your particular zsh will be launched in, it is good practice to reset the options at the beginning of your script with the emulate
Because you can never quite anticipate in which environment your particular zsh will be launched in, it is good practice to reset the options at the beginning of your script with the emulate command:
emulate -LR zsh

After the emulate command, you can explicitly set the shell 
options your script requires.

The emulate command also provides a bash emulation:

emulate -LR bash




Shell

Related
surge delete project Code Example surge delete project Code Example
move view vim Code Example move view vim Code Example
rails 6 action_mailbox:install not working Code Example rails 6 action_mailbox:install not working Code Example
cope file linux Code Example cope file linux Code Example
bash if negative number Code Example bash if negative number Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10