From a18c46382358f917ce89bbeb08f68b197386156e Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 13 Feb 2011 12:50:00 +0100 Subject: [PATCH] alias psql to be sure to use libreadline and not the crap and unusable libedit Signed-off-by: Joerg Jaspert --- config/homedir/.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/homedir/.bashrc b/config/homedir/.bashrc index f6baa90d..2a4fd452 100644 --- a/config/homedir/.bashrc +++ b/config/homedir/.bashrc @@ -57,3 +57,4 @@ export CDPATH=".:~:${base}:${public}:${queuedir}" alias base='cd ${base}' alias config='cd ${configdir}' +alias psql='LD_PRELOAD=/lib/libreadline.so.5 psql' -- 2.39.2