My best choice when I want to extend the system path is to create a profile shell script in the /etc/profile.d/ directory with and extension of .sh . The content is something like this: export PATH=$PATH:/home/ikon/bin This way my ~/bin directory is added to the system path. Check it with $ echo $PATH
Dad, Family Alpha, Software engineer, Heroes of the Storm and Minecraft player, Anime otaku, Metal and Goa enthusiast. https://www.visualcv.com/viktor-vad