mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-09 17:00:44 +01:00
merge upstream
This commit is contained in:
25
lib/prompt.zsh
Normal file
25
lib/prompt.zsh
Normal file
@@ -0,0 +1,25 @@
|
||||
export PAGER=less
|
||||
export LC_CTYPE=en_US.UTF-8
|
||||
|
||||
# speed stuff.
|
||||
|
||||
#setopt no_beep
|
||||
setopt auto_cd
|
||||
setopt multios
|
||||
setopt cdablevarS
|
||||
|
||||
if [[ x$WINDOW != x ]]
|
||||
then
|
||||
SCREEN_NO="%B$WINDOW%b "
|
||||
else
|
||||
SCREEN_NO=""
|
||||
fi
|
||||
|
||||
PS1="%n@%m:%~%# "
|
||||
|
||||
# Setup the prompt with pretty colors
|
||||
setopt prompt_subst
|
||||
|
||||
export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
||||
|
||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||
Reference in New Issue
Block a user