From 68eb9276d2faf71465940132042ca28f97053496 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Thu, 29 Nov 2018 22:13:04 -0800 Subject: [PATCH] Add cargo bin to path --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index dc7eab0..c8491d6 100644 --- a/.zshrc +++ b/.zshrc @@ -35,6 +35,10 @@ if (( !$? )) && [[ -d "$DEVPATH/go" ]]; then export PATH="$GOPATH/bin:$PATH" fi +if [[ -d "$HOME/.cargo" ]]; then + export PATH=$HOME/.cargo/bin:$PATH +fi + which nvim &> /dev/null neovim="$?"