vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 29bf21ac8af0441341898607d947a5b5897aeba2
parent ed7574adff2266775d501b7512c5d1df7944ad30
Author: Christian Hesse <mail@eworm.de>
Date:   Mon, 16 Jan 2017 10:39:56 +0100

single: include tools vis-{clipboard,complete,menu,open}

These are called from vis only. So include them in the archive and set PATH
to make vis find them.

Diffstat:
MGNUmakefile | 2+-
Mvis-single.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile @@ -188,6 +188,6 @@ standalone: clean single: standalone cp vis-single.sh vis-single strip vis - tar c vis lua/ | gzip -9 >> vis-single + tar c vis vis-clipboard vis-complete vis-menu vis-open lua/ | gzip -9 >> vis-single .PHONY: standalone local dependencies-common dependencies-local dependencies-clean diff --git a/vis-single.sh b/vis-single.sh @@ -7,7 +7,7 @@ trap 'rm -rf "$VISTMP"' EXIT INT QUIT TERM HUP sed '1,/^__TAR_GZ_ARCHIVE_BELOW__$/d' "$0" | gzip -d | tar xC "$VISTMP" -"$VISTMP/vis" "$@" +PATH="$VISTMP:$PATH" "$VISTMP/vis" "$@" exit $?