/** * Getting prompt * * @return string * @author Sergey Startsev */ private function getPrompt() { if (empty($this->prompt)) { $this->prompt = $this->getWhoami() . '@' . $this->getUnameShort() . ':' . '~/' . afStudioUtil::unRootify($this->getPwd()) . '$ '; } return $this->prompt; }