summaryrefslogtreecommitdiff
path: root/lib/prompt.zsh
diff options
context:
space:
mode:
authorJames Cox <james@imaj.es>2009-09-23 16:14:04 +0100
committerJames Cox <james@imaj.es>2009-09-23 16:14:04 +0100
commit8a8a7bafa037ef253ce582a182c77a74b76ac309 (patch)
treea176b2db801a33fc84bc4d2d8ff8021aa32d954b /lib/prompt.zsh
parent71b1c60a8d2386a2a836d76fd57a507a0c9a3935 (diff)
parentff545e6934b70945e778495f613d41a43681b662 (diff)
downloadzsh-8a8a7bafa037ef253ce582a182c77a74b76ac309.tar.gz
zsh-8a8a7bafa037ef253ce582a182c77a74b76ac309.tar.bz2
zsh-8a8a7bafa037ef253ce582a182c77a74b76ac309.zip
merge upstream
Diffstat (limited to 'lib/prompt.zsh')
-rw-r--r--lib/prompt.zsh25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/prompt.zsh b/lib/prompt.zsh
new file mode 100644
index 000000000..39689684f
--- /dev/null
+++ b/lib/prompt.zsh
@@ -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"