From 8b8e118e0f1acb01d8f98ec8437285d1c0204c3e Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Sun, 30 Jul 2017 21:38:53 +0200 Subject: [PATCH] proper naming of history file --- aql2/src/prompt/Prompt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aql2/src/prompt/Prompt.cpp b/aql2/src/prompt/Prompt.cpp index de453fc96f..98aeda0bd8 100644 --- a/aql2/src/prompt/Prompt.cpp +++ b/aql2/src/prompt/Prompt.cpp @@ -31,7 +31,7 @@ char * Prompt::stripwhite ( char * begin ) { return begin; } -Prompt::Prompt ( cli::Environment environment ) : m_prefix ( "> " ), m_history_file ( std::string ( std::getenv ( "HOME" ) ) + "/.aql" ), m_environment ( std::move ( environment ) ) { +Prompt::Prompt ( cli::Environment environment ) : m_prefix ( "> " ), m_history_file ( std::string ( std::getenv ( "HOME" ) ) + "/.aql_history" ), m_environment ( std::move ( environment ) ) { read_history ( m_history_file.c_str ( ) ); } -- GitLab