about summary refs log tree commit diff
path: root/bins
diff options
context:
space:
mode:
Diffstat (limited to 'bins')
-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