Xfce Forum

Sub domains
 

You are not logged in.

#1 2010-11-10 15:18:18

gargamel79
Member
Registered: 2010-11-10
Posts: 2

[Solved] changing terminal prompt

Hello,
Sorry for my bad english ...
I would like change the prompt in a terminal, in order to include the path...
In a console it is very easy -> ~/profile and edit PS1
But when I launch an xterm under xfce this PS1 is not exported  roll
Thanks for a bit of help

Offline

#2 2010-11-10 17:56:13

Pindakoe
Member
From: NL
Registered: 2003-11-26
Posts: 116

Re: [Solved] changing terminal prompt

.profile only gets run when you logon. What you need is .bashrc; this gets executed every time you start a shell (which you do when clicking on the terminal icon in Xfce).

Offline

#3 2010-11-11 09:04:07

gargamel79
Member
Registered: 2010-11-10
Posts: 2

Re: [Solved] changing terminal prompt

You are perfectly right ! I have just tried it and that runs.
Sorry to be so stupid and many thanks again for your help.
    gargamel

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 527.13 KiB (Peak: 539.02 KiB) ]