From fbb55d5e3b9f1d4be3fec53be7274d85f37337c9 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 20 Oct 2021 15:00:34 +0200 Subject: conditional cargo env include --- zsh/zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 67dde0b..06bfdcb 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -213,7 +213,6 @@ RPS1='%(1j.%K{$PRMPT_COL}%B %j %b%k.) $duration_info $(_miguel_check_last_exit_c export PATH=$HOME/.local/bin:$PATH [ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local" - -source $HOME/.cargo/env +[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env" cd $HOME -- cgit v1.2.3