Idea not lauching from zhs terminal

Answered

Hello,

I tried to configurate my zhs terminal to launch idea which was working just fine until this morning. 

Now I have this error:

The file /private/var/folders/2v/5s89yy252y1c61jvmky9j2fr0000gn/T/AppTranslocation/C5C53302-2B1D-47BA-8BA0-A224D04591AA/d/IntelliJ IDEA CE.app does not exist.

 

I created a prompt from intelliJ and copied it in my ~/.zshrc

export PATH=$HOME/usr/local/bin/idea:$PATH

Can somebody explain what is happening?

Thank you a lot

0
4 comments

Please check this thread.

The issue could be caused by the Toolbox: https://youtrack.jetbrains.com/issue/ALL-1266.

Reinstalling the command line launcher via Tools | Create Command-line Launcher should help.

1
Avatar
Permanently deleted user

Dear Serge,

I tried reinstalling the command line launcher: /usr/local/bin/idea

It gives me exactly the same path that I have in ~/.zshrc.

0
Avatar
Permanently deleted user

Thank you for your help. I found the issue. 

My path was HOME//usr/local/bin/idea. It used to work before (fact I can't understand) but now that I deleted the path it launches idea from the terminal again with "idea".

0

In mac you can “find / -iname idea”  , find where is idea. In common, it is in "/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea".

then,“vim ~/.zshrc”

then, add this line in .zhsrc:    alias idea="/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea"

at last, source ~/.zshrc

0

Please sign in to leave a comment.