Commit d775b718 authored by Robert Spencer's avatar Robert Spencer
Browse files

We no longer support ~/bin

parent 6c0223b3
# Override first bin directory
# Depending on your distro, your ~/.profile may already be providing
# this information
if [ -d "$HOME/bin" ]
if [ -d "$HOME/.local/bin" ]
then
if ! [ "$PATH" =~ "$HOME/bin" ]
if ! [[ "$PATH" =~ "$HOME/.local/bin" ]]
then
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
fi
fi
else
# We should never need this, but just in case
mkdir -p "$HOME/.local/bin"
if [ -d "$HOME/.local/bin" ]
then
if ! [ "$PATH" =~ "$HOME/.local/bin" ]]
if ! [[ "$PATH" =~ "$HOME/.local/bin" ]]
then
export PATH="$HOME/.local/bin:$PATH"
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment