mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 06:55:34 +08: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:
parent
cc54917efa
commit
caf1bbfc97
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user