[bash] prompt environment type at make dotfiles installation #247
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should consider adding a prompt when running
make dotfilesif the target environment is a "dev" or "prod" environment. While we could certainly use this distinction for future environment changes, my first thought was that for a production environment, the default bashPS1could be changed from:export PS1='\[\e[38;5;46m\]\u\[\e[38;5;2m\]@\[\e[38;5;46m\]\h\[\e[38;5;2m\]:\[\e[38;5;33m\]\w\[\033[0m\]$ 'to something that distinguishes that environment as important, or "be careful here".
This is the
PS1I use on the production server for https://srv.vlw.se. I think we should use something that adheres to the conventions defined in the dotfiles though.