Ivan Malison 9eaf9b2832 Add ~/.lib/bin
Made pager.sh and editor.sh accesible from anywhere in the shell. Also
made pager.sh smart in that it will use emacsclient when INSIDE_EMACS
environment variable is set.
2015-08-15 22:49:59 -07:00

8 lines
115 B
Bash
Executable File

#!/usr/bin/env zsh
if environment_variable_exists INSIDE_EMACS; then
emacs_pager "$@"
else
less -FXr
fi
return 0