Terminus icon indicating copy to clipboard operation
Terminus copied to clipboard

How to set a default start directory?

Open PumpkinDemo opened this issue 3 years ago • 3 comments

is there a way to set a default start directory or workspace, so that, the shell would be started at that directory when opening terminus without folder or file open

PumpkinDemo avatar Nov 29 '21 08:11 PumpkinDemo

Just set the cwd as ${file_path:DEFAULT}

randy3k avatar Nov 29 '21 19:11 randy3k

Just set the cwd as ${file_path:DEFAULT}

Any settings example? I have tried to put it in shell_configs but it doesn't work

PumpkinDemo avatar Jan 01 '22 10:01 PumpkinDemo

In keybindings > try this >

[
    { 
        "keys": ["ctrl+alt+t"], "command": "terminus_open", "args": {
            "cwd": "${file_path:${folder}}"
        }
    }
]

crossinghoods avatar Feb 12 '22 18:02 crossinghoods