Question: how to active one existing tab/console and change the dir to somewhere
Question
I often open zsh console from total command. because I use oh-my-zsh in .zhrc, it's a little slow for zsh to be ready.
I wonder, if there's some method to open only one zsh console/tab. Every time I would like the zsh console, it just activate an existing zsh and change the dir to somewhere.
Checklist
- [X] I have read the documentation and made sure what I'm looking for isn't present, or is unclear.
- [X] I have searched for similar issues, and either this question wasn't asked before, or I didn't find any that describe my question.
Seems like a good idea, it should use a persistent single instance of zsh and only cd to the new directory. I'll see if this can be implemented.
What should happen in case you would want to open a second tab of zsh? Should this overwrite the working directory of the last zsh tab opened?
Thank you.
I follow this https://dominikrys.com/posts/zsh-in-git-bash-on-windows/ to use zsh.
Every time a new zsh console starts up, I should wait it ready for some seconds, as zsh executes .zshrc which run oh-my-zsh . If I can use the existing console, I can work immedietly.
I think I can start a zsh console when os windows starts up, and when I do with totalcommand, I could open the existing zsh, cd to current dir and do something quickly.