diff --git a/share/functions/__fish_list_current_token.fish b/share/functions/__fish_list_current_token.fish index b6c004b19..1bfabd92f 100644 --- a/share/functions/__fish_list_current_token.fish +++ b/share/functions/__fish_list_current_token.fish @@ -15,7 +15,7 @@ function __fish_list_current_token -d "List contents of token under the cursor i end end - string repeat \n --count=(math (count (fish_prompt)) - 1) + string repeat -N \n --count=(math (count (fish_prompt)) - 1) commandline -f repaint end diff --git a/share/functions/__fish_whatis_current_token.fish b/share/functions/__fish_whatis_current_token.fish index 390ec98cb..62cf09fbb 100644 --- a/share/functions/__fish_whatis_current_token.fish +++ b/share/functions/__fish_whatis_current_token.fish @@ -28,7 +28,7 @@ function __fish_whatis_current_token -d "Show man page entries or function descr printf "%s\n" $desc - string repeat \n --count=(math (count (fish_prompt)) - 1) + string repeat -N \n --count=(math (count (fish_prompt)) - 1) commandline -f repaint end