diff --git a/env b/env old mode 100644 new mode 100755 index ee606d32..cde7f66d --- a/env +++ b/env @@ -17,7 +17,7 @@ done ## Library -function _is_interactive { [[ $- == *i* ]]; } +function _is_interactive { [[ $- == *i* || -n $EMACS ]]; } function _is_running { for prc in "$@"; do