Eterm mit autom. Befehl

Post Reply
Message
Author
blubb

Eterm mit autom. Befehl

#1 Post by blubb »

hallo,
folgendes problem:
habe Eterm und moechte das wenn ich Eterm starte automatisch der befehl ausgefuehrt wird: source /etc/profile
damit die files farbig dargestellt werden (ausfuehrbare gruen, kaputte symlinks rot etc.). weis einer wo man das einstellt? vll in der profile selbst?
oder gibts ne eterm.conf?

blubb

gogo

#2 Post by gogo »

Hi,

wenn Eterm gestartet wird, startet es deine Login-Shell (bei mir bash -- was sonst?!). Schreib einfach in die .bashrc oder .bash_login oder ... (es gibt 10^5 Startdateien für die Bash):

if [ "$TERM" = "Eterm" ]; then
source /etc/profile
fi

BTW: Wundert mich, dass Eterm nicht automatisch in der /etc/profile nachsieht. Auf jeden Fall findet Eterm bei mir meine lokalen Einstellungen, und dann kann mit /etc/profile ja noch nachladen.

CU, gogo

Allo
Posts: 119
Joined: 16. Apr 2004 16:51

#3 Post by Allo »

gogo wrote:Hi,


BTW: Wundert mich, dass Eterm nicht automatisch in der /etc/profile nachsieht. Auf jeden Fall findet Eterm bei mir meine lokalen Einstellungen, und dann kann mit /etc/profile ja noch nachladen.

CU, gogo
Das sollte die shell tun, nicht das term.

Allo
I came, I saw, I deleted all your files.

blubb

#4 Post by blubb »

thxle

Post Reply