From 4385c252eb461a0ec9dbf9569a8f9ef7f0664289 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 16 Jul 2024 16:12:12 +0100 Subject: Initial commit --- zsh/.zshenv | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 zsh/.zshenv (limited to 'zsh/.zshenv') diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 100644 index 0000000..e7aa6ab --- /dev/null +++ b/zsh/.zshenv @@ -0,0 +1,12 @@ +if [[ -d $HOME/.npm-packages/bin ]] && [[ ! $PATH == *"$HOME/.npm-packages/bin"* ]] { + export PATH="$HOME/.npm-packages/bin:$PATH" +} + +if [[ -d $HOME/.cargo/bin ]] && [[ ! $PATH == *"$HOME/.cargo/bin"* ]] { + export PATH="$HOME/.cargo/bin:$PATH" +} + +if [[ -d $HOME/.local/bin ]] && [[ ! $PATH == *"$HOME/.local/bin"* ]] { + export PATH="$HOME/.local/bin:$PATH" +} +. "$HOME/.cargo/env" -- cgit v1.2.3