diff --git a/doc/r2slides.txt b/doc/slides.r2s similarity index 100% rename from doc/r2slides.txt rename to doc/slides.r2s diff --git a/libr/core/cmd.c b/libr/core/cmd.c index 5d577886cb..b73b31dcbc 100644 --- a/libr/core/cmd.c +++ b/libr/core/cmd.c @@ -1285,6 +1285,9 @@ R_API bool r_core_run_script(RCore *core, const char *file) { free (shell); } ret = 1; + } else if (!strcmp (ext, "r2s")) { + r_core_visual_slides (core, file); + ret = 1; } else if (!strcmp (ext, "pl")) { char *cmd = cmdstr ("perl"); r_lang_use (core->lang, "pipe");