mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue