aboutsummaryrefslogblamecommitdiff
path: root/sh/profile
blob: fd87b8fa90f686d47033c023edd4462482f8500f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                       
                                                        
 





                                                


                                                       
              
  
# Add ~/.local/bin to PATH if it exists
[ -d "$HOME"/.local/bin ] && PATH=$HOME/.local/bin:$PATH

# Load all supplementary scripts in ~/.profile.d
for sh in "$HOME"/.profile.d/*.sh ; do
    [ -e "$sh" ] && . "$sh"
done
unset -v sh

# If ENV is still unset, and ~/.shinit exists, use that
if [ -z "$ENV" ] && [ -f "$HOME"/.shinit ] ; then
    ENV=$HOME/.shinit
    export ENV
fi