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

              
 
                                                       


                    

                                                     

                 
 
                                      



                               

                      

            

                                                  

                   


                                                                              
                                      

                            


           


                                                                           
# Use lynx as our terminal browser
BROWSER=lynx
export BROWSER

# Use ed as our line editor and vi as our visual editor
EDITOR=ed
VISUAL=vi
export EDITOR VISUAL

# Set the POSIX interactive startup file to ~/.shinit
ENV=$HOME/.shinit
export ENV

# Use NZ English, but bytewise sorting
LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en
LC_COLLATE=C
export LANG LANGUAGE LC_COLLATE

# Use less as my pager
PAGER=less
export PAGER

# Assume I'm at home unless something overrides it
TZ=Pacific/Auckland
export TZ

# Source all scripts in ~/.profile.d; many of them will be modifying $PATH, so
# we'll get that sorted out first
for sh in "$HOME"/.profile.d/*.sh ; do
    [ -e "$sh" ] || continue
    . "$sh"
done
unset -v sh

# Add ~/.local/bin and ~/.local/games to the very front of PATH, so that it
# overrides everything else
PATH=$HOME/.local/bin:$HOME/.local/games:$PATH