I wanted to integrate git bash into IntelliJ, so I've changed the default terminal path to C:\Program Files\Git\bin\sh.exe
. After some time I noticed that some commands are not working, for example:
sh.exe
$ ll
bash: ll: command not found
Also some programs are not working. I am using MQTT CLI, downloaded it, configured the PATH
variable properly but the command mqtt
is only working in git-bash.exe
.
sh.exe
$ mqtt
bash: mqtt: command not found
git-bash.exe
$ mqtt
Usage: mqtt [-hV] { pub | sub | shell }
MQTT Command Line Interpreter.
Options:
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
pub, publish Publish a message to a list of topics
sub, subscribe Subscribe an mqtt client to a list of topics
shell, sh Starts MqttCLI in shell mode, to enable interactive mode with further sub commands.