From 54c0f604a790f3915000880c5d3fe8b851b3f8f2 Mon Sep 17 00:00:00 2001 From: Nathan Knowler Date: Thu, 4 Mar 2021 22:13:54 -0600 Subject: [PATCH] [bin] add man hack for tmux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I want man to be ran via zsh so it has the nice highlighting. This doesn’t happen if I run it directly in tmux, so instead man should always run via zsh. The -i flag is to make the shell interactive since otherwise it would exit immediately. --- .local/bin/man | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .local/bin/man diff --git a/.local/bin/man b/.local/bin/man new file mode 100755 index 0000000..5656ad3 --- /dev/null +++ b/.local/bin/man @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +zsh -ic "/usr/bin/man $1" -- 2.51.2