baz/loader/config.h
Ari Archer ec27e694d4
7.5.2 : improve C loader performance and size
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2023-03-10 22:27:41 +02:00

20 lines
710 B
C

#ifndef _CONFIG_H
#define _CONFIG_H
static const char newline = '\n';
#define DIR_SEP "/"
#define CDIR_SEP '/'
#define ENVS_DIR "environments"
#define CMDS_DIR "commands"
#define FUNCS_DIR "functions"
#define ALIASES_DIR "aliases"
#define RUNS_DIR "runners"
#define COMPS_DIR "completions"
#define KEYS_DIR "keybinds"
#define KEYS_FULL_CTX_KEYF "all.rl"
#define KEYS_CTX_DIR "bindings"
#define DEBUG_LOAD "BAZ_DEBUG_LOAD"
#define LOGGING_FN ".1"
#define LOGGING_FN_DEF LOGGING_FN "(){ echo \"" LOGGING " $1\">&2;}"
#define STR_GROWTH 64
#define LINE_GROWTH 64
#endif /* _CONFIG_H */