How to save shell history from within terminal?

Answered

My shell commands (I'm using zsh) are not saved to bash history outside of the terminal tabs.

 

Expected behaviour (As seen in iTerm):

1) `echo 'a'`

2) Open new tab

3) <previous command> -> shows `echo 'a'`

 

Observed behaviour in IntelliJ Terminal:

1) `echo 'b'`

2) Open new tab

3) <previous command> -> shows `echo 'a'`  (From iTem test)

 

In fact, nothing from my IntelliJ Terminal seems to get saved to history.

 

About:

IntelliJ IDEA 2018.3.3 (Ultimate Edition)
Build #IU-183.5153.38, built on January 9, 2019
Licensed to Roman Hartmann
Subscription is active until October 29, 2019
JRE: 1.8.0_152-release-1343-b26 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.1

 

 

0
1 comment

Hi. We have a related issue, please follow: https://youtrack.jetbrains.com/issue/IDEA-155571

0

Please sign in to leave a comment.