Bright-Computing / bic

Bright-Illumina collaboration
GNU General Public License v2.0
4 stars 5 forks source link

Do not hardwire users' PATH like in: $PATH:$HOME/.local/bin:$HOME/bin #96

Open fgeorgatos opened 7 years ago

fgeorgatos commented 7 years ago

avoid hardwiring $PATH components for users, under either /etc/skel/ or .bash_profile: (we may do it much, much, better now via Lmod & 007-sh-in-it facility):

[fotis@demo2 ~]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH