SublimeREPL Shell

864 Views Asked by At

Simple question: by default it does not display current path, but only

bash-3.2$ 

I wonder if one can configure SublimeREPL such that it display current path (I can of course use pwd, but it'd be great if it is shown automatically on screen)?

1

There are 1 best solutions below

0
On

For configure open Preferences | Package Settings | SublimeREPL | Settings - User and try to override the environment variable PS1:

{
    "default_extend_env": {
        "PS1": "\\w\\$"
    }
}

Requires restart Shell to apply changes.