Skip to content

init_commands #978

@mbouwm

Description

@mbouwm

Hi,

I manage two homeassistant servers. And I it is possible to login with public/private key.
But I liked to change the prompt to see at wich I am logged in.

the next command is working when logged in: export PS1="(HA_1) $ "
After this the prompt is changed to: (HA_1) $

When logged out/in the prompt is changed back to the original again.

I tried to place this command into the init_commands of this App but that is not working.

I there a way to prevent the prompt changing to original, and leave it at (HA_1) $

Regards,
Martien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions