1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 21:19:06 +00:00

New version of zsh startup files:

- Supports Darwin AND Linux
- No more .zshrc.local
- New completion (BETA)
This commit is contained in:
2010-11-18 08:49:41 +00:00
parent e031a7efc9
commit 5b09568680
16 changed files with 223 additions and 165 deletions

11
zsh.d/30-prompt Normal file
View File

@ -0,0 +1,11 @@
#######################################################################################
# Setup PROMPT
if [ ${TERM[0,5]} = "xterm" ] || [ ${TERM} = "rxvt" ]; then
# We are on xterminal
PS1="%{]2;%n@%m:%.%}%{]1; %m:%. %}%B<%l> %~ %#%b "
else
# We are not on xterminal
PS1="%B[%l] %n@%m:%~ %#%b "
fi
# vim: set ts=4 sw=4 tw=0 ft=zsh :