Re: Custom prompt - Mailing list pgsql-general

From craig@gtek.biz
Subject Re: Custom prompt
Date
Msg-id 1348512170.898217808@webmail.gtek.biz
Whole thread Raw
In response to Re: Custom prompt  (David Salisbury <salisbury@globe.gov>)
List pgsql-general
>
> Try along the lines of
>
> psql -h some.host.com   -U postgres -v "PROMPT1=*my_cool_prompt%/> " -d my_db
>

Works like a charm! Do I have a dot file  that I can save this setting to, similar to the .exrc for vi, or will I need
toenter it every time? If the latter, I'll alias it, but I'd rather be able to save it if possible. 

Thanks!


Sent - Gtek Web Mail




pgsql-general by date:

Previous
From: David Salisbury
Date:
Subject: Re: Custom prompt
Next
From: Adrian Klaver
Date:
Subject: Re: Custom prompt