A
A
Alexander Ampleev2021-05-28 14:07:30
Command line
Alexander Ampleev, 2021-05-28 14:07:30

Why doesn't command alias work in terminal in phpstorm?

There is a command alias, it works fine in the terminal in mac os, but for some reason it does not work in the phpstorm terminal.. the message "zsh: command not found: tig" is displayed

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2021-06-01
@Ampleev

the error directly tells you that zsh is used (the default one was on modern macOS), and not bash.
or change the storm settings to bash, or add an alias to zshrc.

V
Valdemar Smorman, 2021-05-28
@smorman

In .bashrctry to register an alias and be sure to activate it with a command:
. ~/.bashrc
otherwise it will work only until overload

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question