ansible-role--bashrc/files/bashrc.d/00-bin-private.sh

13 lines
219 B
Bash

#!/bin/sh
###
# set PATH so it includes user's private bin if it exists
#
if [ -d "$HOME/bin" ] ; then
export PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
export PATH="$HOME/.local/bin:$PATH"
fi