replace terminal path with last dir vs absolute