--- src/bin/psql/input.c
+++ src/bin/psql/input.c
@@ -14,7 +14,7 @@
 #include "common.h"
 
 #ifndef WIN32
-#define PSQLHISTORY ".psql_history"
+#define PSQLHISTORY ".desk/psql_history"
 #else
 #define PSQLHISTORY "psql_history"
 #endif