diff --git a/crates/television-utils/shell/completion.fish b/crates/television-utils/shell/completion.fish index f828c66..9c38bfc 100644 --- a/crates/television-utils/shell/completion.fish +++ b/crates/television-utils/shell/completion.fish @@ -7,6 +7,7 @@ function tv_smart_autocomplete # add a space if the prompt does not end with one (unless the prompt is an implicit cd, e.g. '\.') string match -r '.*( |./)$' -- "$current_prompt" || set current_prompt "$current_prompt " commandline -r "$current_prompt$output" + commandline -f repaint end end @@ -17,6 +18,7 @@ function tv_shell_history if test -n "$output" commandline -r "$output" + commandline -f repaint end end