zsh-users
 help / color / mirror / code / Atom feed
* Coolest prompt?
@ 2004-06-11 10:29 Ziggy
  2004-06-11 12:07 ` Thomas Köhler
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Ziggy @ 2004-06-11 10:29 UTC (permalink / raw)
  To: L:ZSH-users

ZSH allows the user to create interesting prompts. Time displaying, menu bars 
and colors.

Post your prompt (and .zshrc) here.

Mine is a rather simple one:
adi@omega ~ %                                                   1:27PM Fri

My zshrc::

alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -lh"
alias nano="nano -w"
alias "nano --override"="nano"
alias BitchX="BitchX dushkinup"
      autoload -U compinit promptinit
      compinit
      promptinit; prompt gentoo

RPROMPT=' %B%@%b %U%D{%a}%u'
prompt="{%U%n#%l@%m:%h%u} %30<...<%~%#"

chpwd() {
   [[ -t 1 ]] || return
   if [[ -n $xterm_prompt ]] {
       print -Pn "\e]2;${USER}@${HOST}:%~\a"
   }
}

-- 
Linux
2.6.6
(Gentoo)
i686 P4


Men occasionally stumble over the truth, but most of them pick themselves
up and hurry off as if nothing had happened.
		-- Winston Churchill


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-07-08  1:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-11 10:29 Coolest prompt? Ziggy
2004-06-11 12:07 ` Thomas Köhler
2004-06-11 21:20 ` Aaron Davies
2004-06-11 22:34 ` William Scott
2004-06-15 15:18   ` Julius Plenz
2004-06-17 12:25     ` Vincent Lefevre
2004-06-17 17:50 ` Sami Samhuri
2004-06-18 16:08 ` Sartoo
2004-07-08  1:15 ` Geoff Wing

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).