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

           

            
 
                                       
                                  

                                 

           
                                                
                                  
                                          
                                       

        
            
 
# Set editor
EDITOR='vi'
VISUAL=$EDITOR
export EDITOR VISUAL

# Set pager
PAGER='less'
export PAGER

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

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