diff options
author | Robby Russell <robby@planetargon.com> | 2009-09-23 07:43:36 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2009-09-23 07:43:36 -0700 |
commit | 8debd097fbea09032c27b2c8d69d8430d7ea0551 (patch) | |
tree | 116ff17dfe29a5906b9a631efa1dd52b8165ec3d /lib/prompt.zsh | |
parent | 2759586aae5bea9ec38bb16403381c73589776ed (diff) | |
download | zsh-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.zsh | 32 |
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" |