Delete unnecessary check for the name of the dev dir.
Add option to use extended globbing in zsh.
Delete export of variables as they are not needed anymore.