#!/bin/sh # add binaries to PATH if they aren't added yet # affix colons on either side of $PATH to simplify matching case":${PATH}:"in *:"$HOME/.local/bin":*) ;; *) # Prepending path in case a system-installed binary needs to be overridden export PATH="$HOME/.local/bin:$PATH" ;; esac