diff --git a/shell/navi.plugin.fish b/shell/navi.plugin.fish index 2de4c74..419906e 100644 --- a/shell/navi.plugin.fish +++ b/shell/navi.plugin.fish @@ -5,6 +5,7 @@ function _navi_smart_replace set --local best_match (navi --print --query "$query" --best-match) if test -n "$best_match" commandline --current-process $best_match + commandline -f repaint return end end @@ -12,6 +13,7 @@ function _navi_smart_replace set --local candidate (navi --print --query "$query") if test -n "$candidate" commandline --current-process $candidate + commandline -f repaint end end