From 4a021d5645fa92396627650c56315558e99f90da Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Tue, 15 Oct 2019 16:00:59 -0400 Subject: [PATCH] added helper scripts --- bin/w+ | 2 ++ bin/x+ | 2 ++ bin/xman | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100755 bin/w+ create mode 100755 bin/x+ create mode 100755 bin/xman diff --git a/bin/w+ b/bin/w+ new file mode 100755 index 0000000..c4867a4 --- /dev/null +++ b/bin/w+ @@ -0,0 +1,2 @@ +#!/bin/sh +chmod +w "$file" \ No newline at end of file diff --git a/bin/x+ b/bin/x+ new file mode 100755 index 0000000..0ff7733 --- /dev/null +++ b/bin/x+ @@ -0,0 +1,2 @@ +#!/bin/sh +chmod +x "$file" \ No newline at end of file diff --git a/bin/xman b/bin/xman new file mode 100755 index 0000000..38677b7 --- /dev/null +++ b/bin/xman @@ -0,0 +1,7 @@ +#!/bin/bash +mandir=$(mktemp -d "${TMPDIR:-/tmp/}man.XXXXXXXXXXXX") +man -Pcat "$1" > "$mandir/$1" +{ + tide "$mandir/$1" & disown +} &> /dev/null + -- 2.55.0