| [ CnUnix ] in KIDS 글 쓴 이(By): MinSoo (magnito) 날 짜 (Date): 1995년08월21일(월) 06시50분41초 KDT 제 목(Title): csh 에서 푸롬프트 저두 잘 모르지만 제 .cshrc 보니깐 csh일 경우: set lochost=`hostname | awk -F. '{print $1}'` if ($?prompt) set prompt="[$lochost]: $cwd> " tcsh 이면 그냥 if ($?prompt) set prompt="[%m] %~ %! > " 이렇게 되어 있읍니다... 그래서 호스트 이름 하고 디렉토리, 히스토리 까지 나옵니다. 도움이 되셨길.. ---- Login name: fisherman In real life: whitewater Directory: /where/there/somewhere Shell: /usr/local/bin/fish Never logged in. No mail. No plan. |