TAB 1
#~/home
cd really
#~/home/really
cd long< br />#~/home/really/long
cd filepath
#~/home/really/long/filepath
node filepath
#session now occupied
< br />#new TAB
#CTR + T
#~/home
#I want to be in the same filepath
Where can I do this NS?
Usually in a workflow, you are working in a directory, and then you need to create a second terminal or session to the same directory.
TAB 1
#~/home
cd really
#~/home/really
cd long< br />#~/home/really/long
cd filepath
#~/home/really/long/filepath
node filepath
#session now occupied
< br />#new TAB
#CTR + T
#~/home
#I want to be in the same filepath
Where can I do this NS?
One of the options of the configuration file is the directory to be used when creating a session with the configuration file. The default is to use your home directory, but you can change it to use the previous directory. You can change this setting in the default profile (allowing you to continue to use ⌘-T), or you can create a new profile that uses this setting and assign other keyboard shortcuts to create a session with that profile.