andresgongora/synth-shell

Unable to change host in synth-shell-prompt.config

Closed this issue · 5 comments

Describe the bug
Unable to change HOST at .config

To Reproduce
Steps to reproduce the behavior:
Insert HOST=".."

Expected behavior
Host will change whenever i insert

Hi. HOST is not a valid configuration option in synth-shell-prompt.config. You can change the disposition of the prompt, though. Is that what you are trying to achieve? In that case, yes, you should be able tho change the order of the prompt by moving HOST around. By default, the order is format="USER HOST PWD GIT PYENV TF".

On the other hand, to change your hostname edit your /etc/hostname file as described for example here: https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname

@cumironin please confirm whether I understood your problem ;)

Hi. HOST is not a valid configuration option in synth-shell-prompt.config. You can change the disposition of the prompt, though. Is that what you are trying to achieve? In that case, yes, you should be able tho change the order of the prompt by moving HOST around. By default, the order is format="USER HOST PWD GIT PYENV TF".

On the other hand, to change your hostname edit your /etc/hostname file as described for example here: https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname

@cumironin please confirm whether I understood your problem ;)

Yes, thank your for your explanation

Is it solved then? If not, could you elaborate on what it is you'd like to achieve?

Yes it's solve, i just remove HOST from format as you say and it's working, thank you.

Awesome!