From 96f7482152d0bb557e57569422be05e16da62a78 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Sat, 6 Jan 2024 03:03:34 -0500 Subject: [PATCH] add cargo bin to path --- configs/shell/profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/shell/profile b/configs/shell/profile index 4e79423..896be25 100644 --- a/configs/shell/profile +++ b/configs/shell/profile @@ -4,13 +4,16 @@ [ -x "$(command -v g610-led)" ] && g610-led -a ff export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)" +if test -d $HOME/.local/share/cargo/bin; then + export PATH=$PATH:$HOME/.local/share/cargo/bin +fi unsetopt PROMPT_SP # Default programs: export BROWSER="firefox-developer-edition" export EDITOR="nvim" -export TERMINAL="kitty" +export TERMINAL="alacritty" # Move config files out of home and into .config/ export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"