Make an alias of shopt and call it through zsh
A quick solution is described here: https://github.com/larz258/Zshopt
sudo vi /usr/bin/shopt
Inside the shopt
#!/bin/bash
args='';
for item in $@
do
args="$args $item";
done
shopt $args;make it executable
sudo chmod +x /usr/bin/shoptCreate an alias in your .zshrc
echo "alias shopt='/usr/bin/shopt'" >> ~/.zshrc