From ac099428081821c779b5ba3b5fbfeb081069b680 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Fri, 16 Sep 2022 09:51:24 +0200 Subject: [PATCH] add nix and cargo package managers --- .bash_profile | 1 + .bashrc | 1 + .xonshrc | 3 +++ 3 files changed, 5 insertions(+) diff --git a/.bash_profile b/.bash_profile index 4472972..ed8e765 100644 --- a/.bash_profile +++ b/.bash_profile @@ -7,3 +7,4 @@ export PATH="$HOME/.gem/ruby/2.7.0/bin:$HOME/bin:$HOME/.local/bin:$HOME/.cargo/bin:$PATH"; export DATA="/media/me/dataDrive" [ "$XDG_CURRENT_DESKTOP" = "KDE" ] || [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] || export QT_QPA_PLATFORMTHEME="qt5ct" +. "$HOME/.cargo/env" diff --git a/.bashrc b/.bashrc index e447154..5827be3 100644 --- a/.bashrc +++ b/.bashrc @@ -79,3 +79,4 @@ alias hindley='ssh hindley.adh.auro.re' alias proxy_hindley='ssh -D 8080 hindley.adh.auro.re' alias config='/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me' +. "$HOME/.cargo/env" diff --git a/.xonshrc b/.xonshrc index a0d4f68..9d2e0df 100644 --- a/.xonshrc +++ b/.xonshrc @@ -7,7 +7,10 @@ $XONTRIB_ONEPATH_ACTIONS[''] = 'vim' # Yes, I don't trust auto-exec xontrib load bashisms xontrib load coreutils +source-bash "$HOME/.cargo/env" + # env +$PATH.insert(0, $HOME+'/.nix-profile/bin') $PATH.insert(0, $HOME+'/bin') $PATH.insert(0, $HOME+'/.local/bin') $PATH.insert(0, $HOME+'/.cargo/bin')