aboutsummaryrefslogtreecommitdiff
path: root/env
blob: 47288991eb95beda01cd506a5a092d0ed867b189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/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/share/../bin":*)
        ;;
    *)
        # Prepending path in case a system-installed binary needs to be overridden
        export PATH="$HOME/.local/share/../bin:$PATH"
        ;;
esac