#	$NetBSD: dot.profile,v 1.8.4.1 2012/04/12 17:12:06 riz Exp $
#
# This is the default .profile file.
# Users are expected to edit it to meet their own needs.
#
# The commands in this file are executed when an sh user first
# logs in.
#
# See sh(1) for details.
#

# Set your editor. Default to explicitly setting vi, as otherwise some
# software will run ed and other software will fail. Can be set to
# emacs or nano or whatever other editor you may prefer, but of course
# those editors must be installed before you can use them.
if [ -x /usr/pkg/bin/vim ]; then
    export EDITOR=vim
else
    export EDITOR=vi
fi

# vi settings: set show-match auto-indent always-redraw shift-width=4
#export EXINIT="se sm ai redraw sw=4"

# VISUAL sets the "visual" editor, i.e., vi rather than ed, which if
# set will be run by preference to $EDITOR by some software. It is
# mostly historical and usually does not need to be set.
#export VISUAL=${EDITOR}

# Set the pager. This is used by, among other things, man(1) for
# showing man pages. The default is "more". Another reasonable choice
# (included with the system by default) is "less".
#export PAGER=more
if [ -x /usr/pkg/bin/most ]; then
	export PAGER="most -s"
elif [ -x /usr/bin/less ]; then
    export PAGER=less
else
    export PAGER=more
fi

# Set your default printer, if desired.
#export PRINTER=change-this-to-a-printer

# Set the search path for programs.
PATH=/bin:/usr/bin:/usr/pkg/bin:${HOME}/bin
PATH=${PATH}:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/bin
export PATH

#PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/7.1.2/All
#PKG_PATH="${PKG_PATH};http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/7.1.2/All"
#export PKG_PATH

# Configure the shell to load .shrc at startup time.
# This will happen for every shell started, not just login shells.
export ENV=$HOME/.shrc

# Load our .bashrc, if we have it ;-)
# Put all your bash configs in the following file.
if [ -f .bashrc ]; then
    . .bashrc
fi

# You can comment/remove this block after your first login ;)
# ------- Begin GIT Configurations --------------------------
if [ -x .git-configs-runme_before.sh ]; then
    ./.git-configs-runme_before.sh
    echo -e "\nYou can comment/remove this block."
    echo -e "Take a look inside your .profile file. ;)\n"
fi
# ------- END GIT Configurations ----------------------------
#

