Re: [GENERAL] ~/.psqlrc file is ignored [solved: $HOME/.psqlrc]

2017-07-20 Thread vstuart
~/.bashrc alias: alias pg='echo " [sudo -u postgres -i]" && sudo -u postgres -i' -- View this message in context: http://www.postgresql-archive.org/psqlrc-file-is-ignored-tp5971773p5972153.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general

Re: [GENERAL] ~/.psqlrc file is ignored [solved: $HOME/.psqlrc]

2017-07-20 Thread David G. Johnston
On Thu, Jul 20, 2017 at 8:37 AM, vstuart wrote: > ​​ > [victoria@victoria ~]$ pg > [sudo -u postgres -i] > [sudo] password for victoria: > ​Just curious, what is going on here? David J. ​

Re: [GENERAL] ~/.psqlrc file is ignored [solved: $HOME/.psqlrc]

2017-07-20 Thread vstuart
'Solution,' for anyone else encountering this issue (Arch Linux PostgreSQL install ...). TLDR: symlink ~/.psqlrc to postgres $HOME/.psqlrc - [victoria@victoria ~]$ echo $HOME /home/victoria [victoria@victoria ~]$ ls -la .psq* -rw-r--r