From 8debd097fbea09032c27b2c8d69d8430d7ea0551 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Wed, 23 Sep 2009 07:43:36 -0700 Subject: Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options --- lib/prompt.zsh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lib/prompt.zsh (limited to 'lib/prompt.zsh') 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" -- cgit v1.2.3-70-g09d2