Article 55XJN Rust w/aligner utility but have to add to $PATH for cargo then aligner each time

Rust w/aligner utility but have to add to $PATH for cargo then aligner each time

by
shinamouri
from LinuxQuestions.org on (#55XJN)
Currently assigning the Path each time I need to run cargo (cargo will show already installed, but provides the directory path info I need), as follows:
export PATH="/home/shinamouri/.cargo/bin:$PATH"

and similarly for aligner

export PATH="/root/.cargo/bin:$PATH"

After which I can run the utility, but upon completion, the terminal window prompt states a process is still running. The outputted file is already available, so I close the terminal window, but have to repeat the whole process if I open a terminal again. It seems like the directories added to $PATH are being reset.
Is there a simple way to set it up so I don't have to repeat the process every time?

Notes:
1:Rust install guide I used: https://www.techrepublic.com/article...rust-on-linux/

2:aligner takes two subtitle files as paramaters, outputting the 2nd, shifted to the timing of the first. (useful for language study)

TLDR: I need help making directories stick in $PATHlatest?d=yIl2AUoC8zA latest?i=Ay9VcPh4LN4:EFDNu7ldY5Q:F7zBnMy latest?i=Ay9VcPh4LN4:EFDNu7ldY5Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=Ay9VcPh4LN4:EFDNu7ldY5Q:gIN9vFwAy9VcPh4LN4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments