fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
461670c36
master
1# localization: skip(private) 2function __fish_paginate -d"Paginate the current command using the users default pager" 3set -l cmd( __fish_anypager ) 4or return 1 5 6set -l pipe" &| $cmd " 7if string match -rq --' \n\.$' "$ ( commandline -j; echo . ) " 8set pipe"&| $cmd " 9end 10fish_commandline_append $pipe 11end