Start a new instance of xterm in the same directory as I'm working now [closed]
Hi there,
How do I start a new instance of xterm in the same working dir as the one I'm in now? At the moment I created two functions in my .bashrc. One which saves pwd to a file and another one that reads it from a file and cd's into it. I'm looking for a solution where the focus would be on my current window (xterm) and while I press a keyboard shortcut to open another instance of xterm in the same dir. I think you get the idea - I think I'm starting to babble now:)
See this discussion: https://faq.i3wm.org/question/150/how-to-launch-a-terminal-from-here/
I knew I had seem something like that before. Thanks.