mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-07 16:00:41 +01:00
Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options
This commit is contained in:
32
lib/prompt.zsh
Normal file
32
lib/prompt.zsh
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user