fix binary check

This commit is contained in:
2025-05-30 16:27:19 +02:00
parent 40665d5d32
commit 06169eba37

View File

@@ -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