From 4c4d3843e92029611062cd003b79868cc70afaa9 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Sun, 5 Jun 2022 08:58:19 +0530 Subject: [PATCH] Avoid using unnecessary prompts Problem with long paths. --- src/init.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/init.lua b/src/init.lua index 83f14b9..30d102a 100644 --- a/src/init.lua +++ b/src/init.lua @@ -1144,7 +1144,6 @@ xplr.config.modes.builtin.default = { { BashExecSilently = [===[ NAME=$(basename "${XPLR_FOCUS_PATH:?}") - echo SetInputPrompt: "'"${NAME:?} ❯ "'" >> "${XPLR_PIPE_MSG_IN:?}" echo SetInputBuffer: "'"${NAME:?}"'" >> "${XPLR_PIPE_MSG_IN:?}" ]===], }, @@ -1158,7 +1157,6 @@ xplr.config.modes.builtin.default = { { BashExecSilently = [===[ NAME=$(basename "${XPLR_FOCUS_PATH:?}") - echo SetInputPrompt: "'"${NAME:?} ❯ "'" >> "${XPLR_PIPE_MSG_IN:?}" echo SetInputBuffer: "'"${NAME:?}"'" >> "${XPLR_PIPE_MSG_IN:?}" ]===], }, @@ -1739,7 +1737,6 @@ xplr.config.modes.builtin.go_to = { "PopMode", { SwitchModeBuiltin = "go_to_path" }, { SetInputBuffer = "" }, - { SetInputPrompt = "❯ " }, }, }, x = {