From 9186d7bb7cf1f604e4bb8851a4acee1a26650589 Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Sun, 16 Jan 2022 18:37:46 +0800 Subject: [PATCH] Trim current process --- shell/navi.plugin.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/navi.plugin.fish b/shell/navi.plugin.fish index ddcd3b1..c076fc8 100644 --- a/shell/navi.plugin.fish +++ b/shell/navi.plugin.fish @@ -1,5 +1,5 @@ function _navi_smart_replace - set -l current_process (commandline -p) + set -l current_process (commandline -p | string trim) if test $current_process = "" commandline -p (navi --print)