Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use oh-my-zsh with PHPStorm?

Tags:

zsh

phpstorm

I just got oh-my-zsh (a very good command line utility) and would like to utilize this within the PHPStorm terminal. How can I accomplish this?

like image 450
Webnet Avatar asked Mar 27 '14 15:03

Webnet


People also ask

What is zsh console?

What is Zsh? Zsh, also known as the Z shell, extends functionality of the Bourne Shell (sh), offering newer features and more support for plugins and themes. Starting with MacOS Catalina in 2019, Zsh became the default login and interactive shell in Mac machines.


1 Answers

As oh-my-zsh is more of an extended zsh-configuration, it should be sufficient to just tell PHPStorm to use zsh as Shell. This can be done in the Settings dialog (Menu File->Settings) under section Project Settings->Terminal. Just change Shell Path to the path of zsh (can be found out with type zsh in a terminal).

To affect every (new) project you may have to repeat this in File->Default Settigs

like image 77
Adaephon Avatar answered Oct 15 '22 10:10

Adaephon