On Tue, Apr 03, 2018 at 05:11:49PM +0200, Marko Cupać wrote: > Hi, > > before I get to the question, I'd like to thank all the people who made > 6.3 happen. Keep up the good work! :) > > I noticed that on 6.3 prompt shows hostname($|#) by default. Up until > now I was setting it by exporting PS1 in .profile: > > PS1="\u@\h:\w \\$ " > export PS1 > > Where is the default setting for prompt? Is it still ok to change it > in .profile (I like also to have pwd in prompt). > > Pardon my ignorance, and thank you in advance, > > -- > Before enlightenment - chop wood, draw water. > After enlightenment - chop wood, draw water. > > Marko Cupać > https://www.mimar.rs/ >
This was discussed in December 2017 on openbsd-tech: https://marc.info/?t=151284150900003&r=1&w=2 You are free to set PS1 to whatever value you want or need. Note that PS1 does not need to be exported if it's set in the file pointed to by $ENV. Cheers, -- Andreas Kusalananda Kähäri, National Bioinformatics Infrastructure Sweden (NBIS), Uppsala University, Sweden.