dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 8b326f61547116d143ccc0f5eb79a1c82d3403e8 (patch)
parent c75386885a6d1d0cbd758c63005aba3fcb214241
Author: Alex Karle <alex@alexkarle.com>
Date:   Mon,  7 Mar 2022 22:29:19 -0500

bin: Add $EDITOR support to the plumber

Diffstat:
Mbin/plumb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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