Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.65k stars 3.37k forks source link

Pass an argument to start on a specific directory. #90

Closed Pitu closed 7 years ago

Pitu commented 7 years ago

Just like cmd or powershell have the possibility to open a new window on the given folder when opening from a context menu by passing the '%V' argument to the executable, it would be nice to have this feature and open a new tab on Terminus on the desired path.

sarincasm commented 7 years ago

It would be great if Terminus starts working with this.

Pitu commented 7 years ago

Thanks for the update on this. How exactly should I pass the directory I want the tab to open in? I tried with the following but all it did is focus on the Terminus window without opening a new tab.

PS C:\Users\Dev\AppData\Local\terminus> .\Terminus.exe C:/
PS C:\Users\Dev\AppData\Local\terminus> .\Terminus.exe "C:/"
PS C:\Users\Dev\AppData\Local\terminus> .\Terminus.exe -"C:/"
PS C:\Users\Dev\AppData\Local\terminus> .\Terminus.exe --"C:/"
Eugeny commented 7 years ago

.\Terminus.exe C:\

Pitu commented 7 years ago

That doesn't seem to work for me on Alpha 20 https://lolisafe.moe/vo1KIdOW.mp4

Pandawan commented 7 years ago

Not working for me either. https://gyazo.com/893da6d25f19db1755cd373215a91452 (Windows 10, Alpha 20)

GoBrianGo commented 5 years ago

I can't open the path with the cmd '.\Terminus.exe C:\'