[zsh] Fix pager.sh
This commit is contained in:
parent
031616e09e
commit
585bdbd519
@ -1,8 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if environment_variable_exists INSIDE_EMACS; then
|
||||
function pager {
|
||||
if environment_variable_exists INSIDE_EMACS; then
|
||||
emacsclient -n "$@"
|
||||
else
|
||||
else
|
||||
less -FXr
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
pager "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user