summaryrefslogtreecommitdiff
path: root/prompt.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2009-08-28 11:14:17 -0700
committerRobby Russell <robby@planetargon.com>2009-08-28 11:14:17 -0700
commit5da20b9dddb1f7a9110675ded5df59c4c3ed1b83 (patch)
tree142b4940f34ce07495c407692a0c299c18df7461 /prompt.zsh
parente20401e04e057a39c228dbb99dda68ec7fa4235a (diff)
downloadzsh-5da20b9dddb1f7a9110675ded5df59c4c3ed1b83.tar.gz
zsh-5da20b9dddb1f7a9110675ded5df59c4c3ed1b83.tar.bz2
zsh-5da20b9dddb1f7a9110675ded5df59c4c3ed1b83.zip
Importing initial files after reorganizing stuff.
Diffstat (limited to 'prompt.zsh')
-rw-r--r--prompt.zsh29
1 files changed, 29 insertions, 0 deletions
diff --git a/prompt.zsh b/prompt.zsh
new file mode 100644
index 000000000..a36e97f8e
--- /dev/null
+++ b/prompt.zsh
@@ -0,0 +1,29 @@
+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"
+
+PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'