__fish_paginate: do not append a semicolon

I almost always use this on the last/only job in a commandline, so
the semicolon is usually not needed.  We have always added it but I
prefer not dropping it: this feels cleaner because it's what you'd
type without the shortcut.
This commit is contained in:
Johannes Altmanninger 2021-06-22 23:51:31 +02:00
parent cc54917efa
commit caf1bbfc97

View file

@ -10,7 +10,7 @@ function __fish_paginate -d "Paginate the current command using the users defaul
end
if commandline -j | not string match -q -r "$cmd *\$"
commandline -aj " &| $cmd;"
commandline -aj " &| $cmd"
end
end