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