mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Use the new &| in __fish_paginate
This commit is contained in:
parent
f4b4ff63b9
commit
deefdaec57
@ -11,7 +11,7 @@ function __fish_paginate -d "Paginate the current command using the users defaul
|
||||
|
||||
if commandline -j | string match -q -r -v "$cmd *\$"
|
||||
|
||||
commandline -aj " 2>&1 | $cmd;"
|
||||
commandline -aj " &| $cmd;"
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user