mirror of
https://github.com/louisrubet/rpn
synced 2024-11-16 07:47:26 +01:00
commit
d416db330c
2 changed files with 3 additions and 3 deletions
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
|
@ -2,7 +2,7 @@ name: CMake
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ v2.4.0-devel, master ]
|
||||
branches: [ develop, master ]
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
|
|
|
@ -18,7 +18,7 @@ static void ExitInteractive() {
|
|||
struct passwd* pw = getpwuid(getuid());
|
||||
if (pw != nullptr) {
|
||||
stringstream history_path;
|
||||
history_path << pw->pw_dir << "/.RpnHistory";
|
||||
history_path << pw->pw_dir << "/.rpn_history";
|
||||
|
||||
// trunc current history
|
||||
ofstream history(history_path.str(), ios_base::out | ios_base::trunc);
|
||||
|
@ -38,7 +38,7 @@ static void EnterInteractive() {
|
|||
struct passwd* pw = getpwuid(getuid());
|
||||
if (pw != nullptr) {
|
||||
stringstream history_path;
|
||||
history_path << pw->pw_dir << "/.RpnHistory";
|
||||
history_path << pw->pw_dir << "/.rpn_history";
|
||||
|
||||
// don't care about errors
|
||||
linenoiseHistorySetMaxLen(100);
|
||||
|
|
Loading…
Reference in a new issue