Recently,
I noticed, that psql's \e command doesn't worked for me complaining 'error opening file'. I did research and found that following setting in joe's (if I choose editor as joe) configuraton causes the problem:
-exask ^KX always confirms file name
That worked for decades :), so I'm wondering what was changed either in El Capitan or psql code ?
There is no problem with vi.
I use homebrew on El Capitan.
Oleg