summaryrefslogtreecommitdiff
path: root/lib/prompt.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2009-09-23 07:43:36 -0700
committerRobby Russell <robby@planetargon.com>2009-09-23 07:43:36 -0700
commit8debd097fbea09032c27b2c8d69d8430d7ea0551 (patch)
tree116ff17dfe29a5906b9a631efa1dd52b8165ec3d /lib/prompt.zsh
parent2759586aae5bea9ec38bb16403381c73589776ed (diff)
downloadzsh-8debd097fbea09032c27b2c8d69d8430d7ea0551.tar.gz
zsh-8debd097fbea09032c27b2c8d69d8430d7ea0551.tar.bz2
zsh-8debd097fbea09032c27b2c8d69d8430d7ea0551.zip
Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options
Diffstat (limited to 'lib/prompt.zsh')
-rw-r--r--lib/prompt.zsh32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/prompt.zsh b/lib/prompt.zsh
new file mode 100644
index 000000000..31c33feb5
--- /dev/null
+++ b/lib/prompt.zsh
@@ -0,0 +1,32 @@
+export PAGER=less
+export LC_CTYPE=en_US.UTF-8
+
+bindkey -e
+
+# Directory stuff.
+setopt AUTO_NAME_DIRS
+
+# Speed stuff.
+
+#setopt NO_BEEP
+setopt AUTO_CD
+setopt MULTIOS
+setopt CDABLEVARS
+
+bindkey -e
+
+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"