Restore integrated terminal session with last Working Directory on Git Bash

Viewed 169

usually when we exit the terminal and re open it, it will restore our terminal and tabs, its good a feature, but can it restore our last cwd too? i think it supposed to, but i cant get it working on my terminal.

the session doesnt save my last working directory enter image description here

it said session contents restored

the directory before that is .../shop/shop-next, but after restored its just .../shop

i want it to be the same as before (.../shop/shop-next) after restored

the setting related is :

enter image description here on setting "persistent session revive process", it said that it supposed to restore the CWD depends on whether it supported by the terminal

i dont know if git bash is support this feature, so here is my question:

  1. is there a way to get it done?(without using extension)
  2. what terminal/profile/bash support this feature.
0 Answers
Related