Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: code completition / cannot delete characters
- X-seq: zsh-users 11290
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: code completition / cannot delete characters
- Date: Sun, 11 Mar 2007 10:04:47 -0700
- In-reply-to: <00AD54D5-54F0-47EE-8DE5-916B004172C2@xxxxxxxxxxxxxxxxxx>
- 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> <00AD54D5-54F0-47EE-8DE5-916B004172C2@xxxxxxxxxxxxxxxxxx>
On Mar 11, 1:59pm, Michael Worobcuk wrote:
} Subject: Re: code completition / cannot delete characters
}
} > Maybe he sets PS1 in his global zshenv.
} >
} I think I did that.
No, Frank (I think that was Frank) is talking about the /etc/zshenv file,
which unless you are the machine administrator you probably don't even
have permission to edit.
} #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 !!!!!!!!!!!!!!!!!
OK, that confirms that the prompt was the problem.
} What is the correct way, to individualize my prompt ?
(1) Remove the word "export" from each of those two lines.
(2) Add the missing %{ to the PS1 assignment.
Which results in:
PS1="[$(print '%{\e[1;33m%}%n: %{\e[1;35m%}%d%{\e[0m%}')]>"
RPS1="%M"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author