diff --git a/doc/fortunes.tips b/doc/fortunes.tips index e53c1ae81b9..f4e2e70a312 100644 --- a/doc/fortunes.tips +++ b/doc/fortunes.tips @@ -60,7 +60,7 @@ Setup dbg.fpregs to true to visualize the fpu registers in the debugger view. To debug a program, you can call rizin with 'dbg://' or '-d ' Use 'e' and 't' in Visual mode to edit configuration and track flags. Use 'rz-bin -ris' to get the import/export symbols of any binary. -Remember to maintain your `$(rizin -H RZ_RCACHEHOME)/history` file! +Remember to maintain your `$(rizin -H RZ_CACHEHOME)/history` file! Enable the PAGER with 'e scr.pager=less -R' Use 'e asm.offset=true' to show offsets in 16bit segment addressing mode. The '?' command can be used to evaluate math expressions. Like this: '? (0x34+22)*4' diff --git a/librz/include/rz_lib.h b/librz/include/rz_lib.h index ccb2a74d6ed..48aa2417899 100644 --- a/librz/include/rz_lib.h +++ b/librz/include/rz_lib.h @@ -18,7 +18,7 @@ RZ_LIB_VERSION_HEADER(rz_lib); #define RZ_LIB_SYMNAME "rizin_plugin" #define RZ_LIB_SYMFUNC "rizin_plugin_function" -#define RZ_LIB_ENV "RZ_LIBR_PLUGINS" +#define RZ_LIB_ENV "RZ_LIB_PLUGINS" /* TODO: This must depend on HOST_OS, and maybe move into rz_types */ #if __WINDOWS__ diff --git a/librz/main/rizin.c b/librz/main/rizin.c index 81f80a8141d..f70293cfc82 100644 --- a/librz/main/rizin.c +++ b/librz/main/rizin.c @@ -170,7 +170,7 @@ static int main_help(int line) { "Plugins:\n" " binrc %s (elf, elf64, mach0, ..)\n" " RZ_USER_PLUGINS %s\n" - " RZ_LIBR_PLUGINS %s\n" + " RZ_LIB_PLUGINS %s\n" " RZ_EXTRA_PLUGINS %s\n" "Environment:\n" " RZ_DEBUG if defined, show error messages and crash signal\n" @@ -178,7 +178,7 @@ static int main_help(int line) { " RZ_MAGICPATH %s\n" " RZ_NOPLUGINS do not load rizin shared plugins\n" " RZ_RCFILE %s (user preferences, batch script)\n" - " RZ_RDATAHOME %s\n" + " RZ_DATAHOME %s\n" " RZ_VERSION contains the current version of rizin\n" "Paths:\n" " RZ_PREFIX %s\n" @@ -254,10 +254,10 @@ static int main_print_var(const char *var_name) { { "RZ_SIGDB", sigdbdir }, { "RZ_EXTRA_SIGDB", rz_str_get(extrasigdbdir) }, { "RZ_LIBEXT", RZ_LIB_EXT }, - { "RZ_RCONFIGHOME", confighome }, - { "RZ_RDATAHOME", datahome }, - { "RZ_RCACHEHOME", cachehome }, - { "RZ_LIBR_PLUGINS", plugins }, + { "RZ_CONFIGHOME", confighome }, + { "RZ_DATAHOME", datahome }, + { "RZ_CACHEHOME", cachehome }, + { "RZ_LIB_PLUGINS", plugins }, { "RZ_EXTRA_PLUGINS", rz_str_get(extraplugins) }, { "RZ_USER_PLUGINS", homeplugins }, { "RZ_IS_PORTABLE", is_portable },