From 06169eba37273b3be1628c35b13771b134ea0a63 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 30 May 2025 16:27:19 +0200 Subject: [PATCH] fix binary check --- zsh/.zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshenv b/zsh/.zshenv index 4dc280a..1bd3aa4 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1,7 +1,7 @@ export GOPATH="$HOME/.go" export PATH="$HOME/.cargo/bin:$HOME/.gem/bin:$GOPATH/bin:$HOME/.dotfiles/bin:$PATH:$HOME/.local/bin" -if builtin type -p nvim &> /dev/null; then +if [ -n "$(type -p 'nvim')" ]; then export EDITOR=nvim fi