Skip to content
Snippets Groups Projects
Commit 7aca0bcf authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'cleanup-bin' into 'master'

We no longer support ~/bin

See merge request !11
parents 6c0223b3 d775b718
No related branches found
Tags v0.1.6
1 merge request!11We no longer support ~/bin
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment