[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs und Shell



Simon Schweizer <Simon.Schweizer@web.de> writes:

> wenn ich in Emacs 21
> eine Shell öffne,
> steht als Kommandozeile:
> user@hostname:~$   ]0;hostname:~  
>
> Wie kann ich es erreichen,
> dass nur user@hostname:~$ steht ?

,-----[ ~/.emacs ]
| (autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
| (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
`-----

Dann hast Du im Shell-Mode auch Farben und Dein Prompt sollte
funktionieren.

-- 
martin-schmitz at web.de (Public Key ID: E7310780)
·································································
Was man dem Volk dreimal sagt, hält das Volk für wahr.  -- Kleist



Reply to: