Skip to content
Snippets Groups Projects
Commit 8b8e118e authored by Jan Trávníček's avatar Jan Trávníček
Browse files

proper naming of history file

parent c41c32b4
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -31,7 +31,7 @@ char * Prompt::stripwhite ( char * begin ) { ...@@ -31,7 +31,7 @@ char * Prompt::stripwhite ( char * begin ) {
return 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 ( ) ); read_history ( m_history_file.c_str ( ) );
} }
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment