test -r ~/.alias && . ~/.alias
PS1='GRASS 7.2.1 (test_32636):\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 [2D and 3D raster MASKs present]
	elif test -f "$LOCATION/cell/MASK" ; then
		echo [Raster MASK present]
	elif test -d "$LOCATION/grid3/G3D_MASK" ; then
		echo [3D raster MASK present]
	fi
}
PROMPT_COMMAND=grass_prompt
export PATH="/usr/lib/grass72/bin:/usr/lib/grass72/scripts:/home/amuriy/.grass7/addons/bin:/home/amuriy/.grass7/addons/scripts:/home/amuriy/bin:/home/amuriy/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/gmt/bin:/opt/rasdaman//bin:/opt/rasdaman//bin"
export HOME="/home/amuriy"
