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


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

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