How do I shorten the current directory path shown on terminal

Hi, is in the settings where i can short my terminal directory path.. ??? because in my case it's go over the whole screen (too long directory paths in my case)

Only way which i found and working in PhpStorm 2020.3 is write there PROMPT_DIRTRIM=1

Is there some other way where i can config in the settings by default ?

0

There is no such option in the IDE itself, sorry.

What actual terminal do you have (bash, powershell, cmd, etc...)?

0
Avatar
Permanently deleted user

Hi Vasiliy Yur

Before was easy to choose which type of terminal you want... there was this option there if you added new terminal card.. now there is nothing.. maybe in the settings can set up it..  i'm using cmd...  my os is (linux ubuntu 18.04)

Thank you

0

Hi!

Actually, you can choose any terminal you want with the "File | Settings | Tools | Terminal > Shell Path" setting. Also, you may set up env variables there as well, so you may try adding "PROMPT_DIRTRIM" there.

0

请先登录再写评论。