From: "Fafa Hafiz Krantz" <fteg@london.com>
To: zsh-users@sunsite.dk
Subject: Help help, prompt problems here!
Date: Sun, 08 May 2005 14:37:22 -0500 [thread overview]
Message-ID: <20050508193722.8F67C1CE303@ws1-6.us4.outblaze.com> (raw)
Hello everyone!
I am having some difficulty on one of the two boxes I installed
zsh on today. The box having problems won't let no prompt appear
unless I type CTRL+C. Even after I do that, it's not the prompt
I've specified in /etc/zshrc.
Also, I need help modifying the theme 'elite2' into looking just
a little bit better. I've done a 'vared PS1' to get the prompt
out of where ever it's hidden.
It looks like this (with a nice green color scheme):
(johann@urban)(1/ttyp3)(09:26P:05/08/05)-
(%:~)-
I need it to look like this though:
(johann@urban)(21:26:05/08/05)-
(%:~)-
Yeah, basically the 1/ttyp3 has been removed and the time format
changed to the European format. 'vared PS1' returns:
%{^[[01;32m%}(%{^[[22;32m%}%n%{^[[01;30m%}@%{^[[22;32m%}%m%{^[[01;32m%})%{^[[01;32m%}(%{^[[22;32m%}%!%{^[[01;30m%}/%{^[[22;32m%}%y%{^[[01;32m%})%{^[[01;32m%}(%{^[[22;32m%}%D{%I:%M%P}%{^[[01;30m%}:%{^[[22;32m%}%D{%m/%d/%y}%{^[[01;32m%})%{^[[01;30m%}-%{^[[00m%}
%{^M%}%{^[[01;32m%}(%{^[[22;32m%}%#%{^[[01;30m%}:%{^[[22;32m%}%~%{^[[01;32m%})%{^[[01;30m%}-%{^[[00m%}
And here is my /etc/zshrc:
umask 022
alias vi='vim'
alias j='jobs -l'
alias h='history'
alias ls='ls -G'
alias cd..='cd ..'
alias cd...='cd ../..'
alias cd....='cd ../../..'
alias cd.....='cd ../../../..'
alias cd......='cd ../../../../..'
alias cd/='cd /'
alias wf='w -f'
alias ws='w -s'
alias df='df -h'
alias ftp='lftp'
ports=/usr/ports
src=/usr/src
var=/var
autoload -U compinit
compinit
autoload promptinit
promptinit
prompt elite2 green
if [[ `whoami` = root ]] then
prompt elite2 red
fi
if [[ $TERM = eterm ]] then
export TERM=xterm-color
fi
I hope someone can help me.
Thanks!
--
Fafa Hafiz Krantz
Research Designer @ http://www.bleed.no
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
next reply other threads:[~2005-05-08 19:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-08 19:37 Fafa Hafiz Krantz [this message]
2005-05-09 2:35 ` Bart Schaefer
2005-05-09 9:39 ` Peter Stephenson
2005-05-09 16:27 Fafa Hafiz Krantz
2005-05-09 16:59 Fafa Hafiz Krantz
2005-05-10 2:55 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050508193722.8F67C1CE303@ws1-6.us4.outblaze.com \
--to=fteg@london.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).