# Example ~/.ondirrc or /etc/ondirrc

path "$HOME/doc" {
	enter {
		echo You are entering $ONDIRWD
	}
	leave {
		echo You are leaving $ONDIRWD
	}
}
