From 37beeb781f49a6c14c2d3979af0016f812314a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Sun, 29 Dec 2024 19:21:09 +0100 Subject: [PATCH] fix: load Rust env in default zshrc --- ansible/files/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/files/zshrc b/ansible/files/zshrc index 6eef9b5..84d770e 100644 --- a/ansible/files/zshrc +++ b/ansible/files/zshrc @@ -68,6 +68,9 @@ alias cp='cp -i' alias rm='rm -i' alias mv='mv -i' +# Load Rust environment if it exists +[[ ! -f ~/.cargo/env ] || source ~/.cargo/env + # Pyenv venv aliases export PYENV_VIRTUALENV_DISABLE_PROMPT=1 alias mkvirtualenv="pyenv virtualenv"