export HOME within repeat bash