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:
11
zsh.d/30-prompt
Normal file
11
zsh.d/30-prompt
Normal 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 :
|
Reference in New Issue
Block a user