! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
can't set prompt in tcsh
Status:
RESOLVED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description Dave Roberts 2014-01-09 22:23:50 CET
I run tcsh on arch linux with xfce.  I cannot set the prompt to anything other than ">"   I have tried setting the environment variable directly, and tried sourcing .tcshrc at the prompt.  I know xfce4-terminal is reading my .tcshrc because aliases work, but nothing I try will set the prompt.

setenv PROMPT '%n@%m:%c% '

xfce4-terminal 0.6.3
Comment 1 Gregory Margo 2014-01-16 04:51:10 CET
tcsh sets the command prompt from a shell variable named 'prompt'.
Try this in your .tcshrc:

set prompt='%n@%m:%c%% '
Comment 2 Dave Roberts 2014-02-03 00:32:03 CET
(In reply to Gregory Margo from comment #1)
> tcsh sets the command prompt from a shell variable named 'prompt'.
> Try this in your .tcshrc:
> 
> set prompt='%n@%m:%c%% '

Sorry, this was answered by Gregory long ago off-list, and I didn't realize it had posted.  His suggestion works great.
Comment 3 Igor editbugs 2016-08-17 11:45:34 CEST
Closing.

Bug #10617

Reported by:
Dave Roberts
Reported on: 2014-01-09
Last modified on: 2016-08-17

People

CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information