mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 14:01:15 -03:00
__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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user