From 8b326f61547116d143ccc0f5eb79a1c82d3403e8 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Mon, 7 Mar 2022 22:29:19 -0500 Subject: [PATCH] bin: Add $EDITOR support to the plumber --- bin/plumb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/plumb b/bin/plumb index 2456e97..a17c764 100755 --- a/bin/plumb +++ b/bin/plumb @@ -45,7 +45,7 @@ case "$ITEM" in if [ -d "$ITEM" ]; then tmuxdo "cd $ITEM && $SHELL" elif [ -e "$ITEM" ]; then - tmuxdo "vi $ITEM" + tmuxdo "${EDITOR:-vi} $ITEM" fi ;; esac -- libgit2 1.1.1