Răsfoiți Sursa

Cargo STuff

Fred Damstra [io2] 3 ani în urmă
părinte
comite
455f03e749
2 a modificat fișierele cu 9 adăugiri și 0 ștergeri
  1. 8 0
      .bashrc
  2. 1 0
      .profile

+ 8 - 0
.bashrc

@@ -146,10 +146,18 @@ if [ -d ~/Library/Python/3.8/bin ]; then
   export PATH=$PATH:~/Library/Python/3.8/bin
 fi
 
+if [ -d ~/.local/bin ]; then
+  export PATH=$PATH:~/.local/bin
+fi
+
 if [ -d ~/xdr-terraform-live/bin ]; then
   export PATH=$PATH:~/xdr-terraform-live/bin
 fi
 
+if [ -d $HOME/.cargo ]; then
+  . "$HOME/.cargo/env"
+fi
+
 # Add autocompletion for git
 source ~/.bash/git-completion.bash
 

+ 1 - 0
.profile

@@ -22,3 +22,4 @@ if [ -d "$HOME/bin" ] ; then
 fi
 [ -d /opt/gcc-arm-none-eabi-6-2017-q2-update/bin ] && export PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:$PATH
 [ -d /home/fdamstra/ardupilot/Tools/autotest ] && export PATH=/home/fdamstra/ardupilot/Tools/autotest:$PATH
+[ -f $HOME/.cargo/env ] && . "$HOME/.cargo/env"