Automatic Site Shell, auto context switching in ZSH terminal

I wanted to share this with you all, itโ€™s not a bug or request :slight_smile:

I was tired of opening site shells for everything, so I created a ZSH add-on to automatically switch the site-shell context based on the working directory.

You can find it here;

If the local-cli dependency is installed, it will even auto-start a site when entering the directory for it. (LocalWP must already be running, though)

I hope you like it.

For discussion, please use the github page.

Suggestions, improvements but also criticism, all will be appreciated.

(p.s., currently only supports MacOS with the Apple Terminal emulator)

2 Likes