test -r ~/.alias && . ~/.alias
PS1='GRASS 7.0.1svn (grassdata_piemonte):\w > '
grass_prompt() {
	LOCATION="`g.gisenv get=GISDBASE,LOCATION_NAME,MAPSET separator='/'`"
	if test -d "$LOCATION/grid3/G3D_MASK" && test -f "$LOCATION/cell/MASK" ; then
		echo [Maschere raster 2D e 3D presenti]
	elif test -f "$LOCATION/cell/MASK" ; then
		echo [Maschera raster presente]
	elif test -d "$LOCATION/grid3/G3D_MASK" ; then
		echo [Maschera raster 3D presente]
	fi
}
PROMPT_COMMAND=grass_prompt
export GRASS_VERSION=7.0.1svn
export GRASS_PAGER=more
export GRASS_GNUPLOT="gnuplot -persist"
export GRASS_PYTHON=python
export GRASS_HTML_BROWSER=xdg-open
export GRASS_ADDON_BASE=/home/lucadelu/.grass7/addons
export GRASS_PROJSHARE=/usr/local/share/proj
export PATH="/home/lucadelu/compilati/grass70/dist.x86_64-unknown-linux-gnu/bin:/home/lucadelu/compilati/grass70/dist.x86_64-unknown-linux-gnu/scripts:/home/lucadelu/.grass7/addons/bin:/home/lucadelu/.grass7/addons/scripts:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/lucadelu/bin"
export HOME="/home/lucadelu"
