[zsh] Fix pager.sh

This commit is contained in:
Ivan Malison 2023-07-27 18:17:56 -06:00
parent 031616e09e
commit 585bdbd519

View File

@ -1,8 +1,12 @@
#!/usr/bin/env sh #!/usr/bin/env sh
function pager {
if environment_variable_exists INSIDE_EMACS; then if environment_variable_exists INSIDE_EMACS; then
emacsclient -n "$@" emacsclient -n "$@"
else else
less -FXr less -FXr
fi fi
return 0 return 0
}
pager "$@"