11-09-2019, 09:56 AM
Has anyone else had issues relating to ~/.profile not being sourced upon login.
I've made a couple of customisations that add a couple of directories to the system $PATH upon login. However, these don't seem to materialise when I login. Namely:
Both directories appear in the system $PATH if I run:
Ben
I've made a couple of customisations that add a couple of directories to the system $PATH upon login. However, these don't seem to materialise when I login. Namely:
Code:
# set PATH so it includes the snap bin if it exists
if [ -d "/snap/bin" ]; then
PATH="$PATH:/snap/bin"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
Both directories appear in the system $PATH if I run:
Code:
source ~/.profile
Ben