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 allworldit/awit-zsh-superawesome!11
parents 6c0223b3 d775b718
# 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