summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorSosthène Guédon <sosthene.gued@gmail.com>2019-06-16 12:06:37 +0200
committerSosthène Guédon <sosthene.gued@gmail.com>2019-06-16 12:06:37 +0200
commit08556c96115a5421f05b637bb29affde359ccacf (patch)
tree6f9ee26f9b12a5597ce4b6e8d28c4d555006ebfe /src/Makefile
parent3540f7e62df019e537993ebe104835a834808ed3 (diff)
Change config file location
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 0ac22c7..be60014 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,6 +13,8 @@ MANDIR = $(prefix)/share/man/man1
# This is where the history file go
HISTORY_FOLDER= .cache
+# This is where the config file go
+CONFIG_FOLDER= .config
# Change these to your liking or use `make CC=gcc` etc
#CC = cc
@@ -36,6 +38,8 @@ CFLAGS += -DDFLT_EDITOR=\"vim\"
CFLAGS += -DUSECOLORS
# Command history file, relative to HISTORY_FOLDER directory. Comment out to disable commandline history
CFLAGS += -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_FOLDER=\"$(HISTORY_FOLDER)\"
+# Configuration file, relative to CONFIG_FOLDER directory
+CFLAGS += -DCONFIG_FILE=\"scimrc\" -DCONFIG_FOLDER=\"$(CONFIG_FOLDER)\"
# Input mode history. Same as previous, but for insert mode commands
CFLAGS += -DINS_HISTORY_FILE=\"sc-iminfo\"
# Comment out to disable undo/redo support