diff options
author | Sosthène Guédon <sosthene.gued@gmail.com> | 2019-06-16 11:13:07 +0200 |
---|---|---|
committer | Sosthène Guédon <sosthene.gued@gmail.com> | 2019-06-16 11:13:07 +0200 |
commit | 6f1f41ffe3283a0bbfe2c2f745d348c30be2adbf (patch) | |
tree | c78bc0d57ee42837b2ba19c981748c0a984201ce /src/Makefile | |
parent | e6c3e7bc11f2e7bdd845ec0a89172b84b26ad7ab (diff) |
Partial fix to #336
Change history file location
Diffstat (limited to 'src/Makefile')
-rwxr-xr-x | src/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile index d986177..8e7e11b 100755 --- a/src/Makefile +++ b/src/Makefile @@ -11,10 +11,8 @@ LIBDIR = $(prefix)/share/doc/$(name) # This is where the man page goes. MANDIR = $(prefix)/share/man/man1 -# This is where the config files go -CONFIG_FOLDER = $(name) # This is where the history files go -HISTORY_FOLDER= .cache/$(name) +HISTORY_FOLDER= .cache # Change these to your liking or use `make CC=gcc` etc #CC = cc @@ -37,9 +35,10 @@ CFLAGS += -DDFLT_EDITOR=\"vim\" # Comment out to disable color support CFLAGS += -DUSECOLORS # Command history file, relative to home directory. Comment out to disable commandline history -CFLAGS += -DHISTORY_FILE=\"$(HISTORY_FOLDER)/info\" +CFLAGS += -DHISTORY_FILE=\"$(HISTORY_FOLDER)/sc-iminfo\" +CFLAGS += -DHISTORY_FOLDER=\"$(HISTORY_FOLDER)\" # Input mode history. Same as previous, but for insert mode commands -CFLAGS += -DINS_HISTORY_FILE=\"$(HISTORY_FOLDER)/info\" +CFLAGS += -DINS_HISTORY_FILE=\"$(HISTORY_FOLDER)/sc-iminfo\" # Comment out to disable undo/redo support CFLAGS += -DUNDO # Maximum number of rows in spreadsheet. Up to 1048576 |