通常在工作流程中,您正在目錄中工作,然後需要創建第二個終端或會話到同一目錄。使用相同的工作目錄創建新的選項卡會話
TAB 1
#~/home
cd really
#~/home/really
cd long
#~/home/really/long
cd filepath
#~/home/really/long/filepath
node filepath
#session now occupied
#new TAB
#CTR + T
#~/home
#I want to be in the same filepath
有沒有設置某處可以做到這一點?
真棒的感謝! Iterm2的短版本 Iterm-> Preferences-> profiles - >工作目錄 - >重複使用上一個會話目錄 – stanzheng
以獲得更多控制:Iterm2 Iterm-> Preferences-> profiles - > Advanced Config [編輯按鈕] - >現在您可以爲窗格或標籤或窗口選擇不同的操作。 – Sgnl