🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Doug Schmidt Sun, 10 Sep 1989 07:17
time in prompt
#571
Author: Doug Schmidt
Date: Sun, 10 Sep 1989 07:17
20 lines
1130 bytes
Hi,

  Is there an easy way to get bash to display the current time in the
prompt *without* using 24 hour time?!  Furthermore, is there an easy
way to get the `inverse video' effect available in tcsh's prompt
format?

  What I'd really like is a hint on how to make my bash prompt 
look just like my tcsh prompt, i.e.:

  set prompt = "%S[%@]%s [%m] [%h]..: "

  thanks!
  
    Doug
--
schmidt@ics.uci.edu (ARPA) |   Per me si va nella citta' dolente.
office: (714) 856-4043     |   Per me si va nell'eterno dolore.
                           |   Per me si va tra la perduta gente.
                           |   Lasciate ogni speranza o voi ch'entrate.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads