about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-15T20·45-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-15T20·45-0400
commit1cd470b85dbbf41b6d0e04dc815945096eafbd3d (patch)
treef4cc55eff65da57df004caf0897ee2334a8f9bef
parentbea42cf0f9dbd801b4ced7892af835538106f8e1 (diff)
Updates emacs pager helper script
-rwxr-xr-xbins/bin/create-shell-pager.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bins/bin/create-shell-pager.sh b/bins/bin/create-shell-pager.sh
index a0f42cfd2411..f1e3e2fcff4a 100755
--- a/bins/bin/create-shell-pager.sh
+++ b/bins/bin/create-shell-pager.sh
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/usr/bin/env zsh
 
 file=$(mktemp -t "$USER-"XXXXXXXX.emacs-pager) || exit 127
 trap 'rm -f "$file"' EXIT
 trap 'exit 255' HUP INT QUIT TERM
 cat "$@" >"$file"
-emacsclient -e "(wc/open-in-pager \"$file\")"
+emacsclient -e "(wc/open-in-pager \"$file\")" >/dev/null