Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: code completition / cannot delete characters
- X-seq: zsh-users 11287
- From: Michael Worobcuk <mail@xxxxxxxxxxxxxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: code completition / cannot delete characters
- Date: Sun, 11 Mar 2007 13:59:27 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20070311005534.GO18816@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <52211927-A3E8-4E51-8735-961A3BE83BB1@xxxxxxxxxxxxxxxxxx> <070309024427.ZM6023@xxxxxxxxxxxxxxxxxxxxxx> <4916CF2F-0DA8-478B-96DC-B6154C90D98C@xxxxxxxxxxxxxxxxxx> <45F1BFB1.3090801@xxxxxxxxxx> <DFEC4BD6-E1D4-4D97-9B6E-EADFC65C5A60@xxxxxxxxxxxxxxxxxx> <45F1F7F7.8040305@xxxxxxxxxx> <DEA885AD-706C-432A-A32B-C4037829849F@xxxxxxxxxxxxxxxxxx> <070310091540.ZM9599@xxxxxxxxxxxxxxxxxxxxxx> <B174F289-247D-4E58-A33D-8EF354B5891B@xxxxxxxxxxxxxxxxxx> <070310162939.ZM10015@xxxxxxxxxxxxxxxxxxxxxx> <20070311005534.GO18816@xxxxxxxxxxxxxxx>
Maybe he sets PS1 in his global zshenv. Since nothing can prevent
that file from being sourced (not even by '-f'), that would be
possible.
I think I did that. Here is my .zshrc:
#-----------------------------------------------------------------------
---------------------------------------------
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete
zstyle ':completion:*' completions 1
zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' format '%d'
zstyle ':completion:*' glob 1
zstyle ':completion:*' ignore-parents parent
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the
character to insert%s'
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[]=*
r:|=*' 'l:|=* r:|=*'
zstyle ':completion:*' max-errors 6 numeric
zstyle ':completion:*' menu select=1
zstyle ':completion:*' original false
zstyle ':completion:*' prompt 'Anzahl DEINER Tippfehler: %e'
zstyle ':completion:*' select-prompt '%SScrolling active: current
selection at %p%s'
zstyle ':completion:*' substitute 1
zstyle ':completion:*' verbose false
zstyle :compinstall filename '/home/hanno/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt beep nomatch notify
bindkey -v
# End of lines configured by zsh-newuser-install
#-----------------------------------------------------------------------
---------------------------------------------
export LSCOLORS=cxCxFxFxbxGxGxababaeae
export CLICOLOR=$LSCOLORS
alias vi='/usr/local/bin/vim'
alias ls='ls -G'
alias ll='ls -Gl'
alias la='ls -Ga'
alias ausgehen='sudo shutdown -p now'
#export PS1="[$(print '%{\e[1;33m%}%n: \e[1;35m%}%d%{\e[0m%}')]>"
#export RPS1="%M"
As you can see, I commented the export command, and ULALA : I IS
WOOOORKING !!!!!!!!!!!!!!!!!
NEVER NEVER "export PS1". Worst idea in the history of whoever
created
skeleton bashrc files. I have often wished zsh would ignore
PROMPT, PS1,
RPROMPT, RPS1, PS2, etc. from the environment when starting up ...
OK. I promise :)
Sorry for this newb question. What else should one do if not export
PS1. I am exporting PROMPT and RPROMPT in my ~/.zshrc
Yes. I would be interested in that too.
What is the correct way, to individualize my prompt ?
THANK YOU ALL, FOR YOUR HELP.
I was close to not-using the zsh anymore, you guys are great :)
--
zsh-lover
Messages sorted by:
Reverse Date,
Date,
Thread,
Author