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

Re: Emacs und Shell



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

[Kontrollzeichen im Emacs-shell-Buffer:]
> aber wie mache ich das in Emacs,
> wie konfiguriere ich die Shell ?

Bei mir sieht der passende Teil in ~/.bashrc so aus:

    case $TERM in
	xterm*) 
	    export PROMPT_COMMAND='echo -ne "\033]0;${PWD}\007"'
	    PS1='\[\033[0;33m\]\u@\h:\w\$\[\033[0m\] '
	    eval `dircolors -b ~/.dir_colors`
	    alias ls='ls --color=auto' ;;
	*) 
	    PROMPT_COMMAND=
	    export PS1='\u@\h:\w\$ '
	    unalias ls;;
    esac

PS1 und PROMPT_COMMAND kannst Du ja ändern, wenn's Dir so nicht
gefällt.


> Re:
>> > wenn ich in Emacs 21
[..]

Bitte keinen TOFU.



HTH,

 Heike



Reply to: