[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
if environment_variable_exists INSIDE_EMACS; then
emacsclient -n "$@"
else
less -FXr
fi
return 0
function pager {
if environment_variable_exists INSIDE_EMACS; then
emacsclient -n "$@"
else
less -FXr
fi
return 0
}
pager "$@"