Added new vim colorscheme, updated prompt

Added smyck colorscheme, which I foud on reddit today.
Also, copied the prompt from zholman's dotfiles
This commit is contained in:
Nick Nisi
2012-05-01 16:28:44 -05:00
parent 7436670b87
commit 8c3757f789
5 changed files with 202 additions and 2 deletions

19
zsh/window.zsh Normal file
View File

@@ -0,0 +1,19 @@
# From http://dotfiles.org/~_why/.zshrc
# Sets the window title nicely no matter where you are
function title() {
# escape '%' chars in $1, make nonprintables visible
a=${(V)1//\%/\%\%}
# Truncate command, and join lines.
a=$(print -Pn "%40>...>$a" | tr -d "\n")
case $TERM in
screen)
print -Pn "\ek$a:$3\e\\" # screen title (in ^A")
;;
xterm*|rxvt)
print -Pn "\e]2;$2\a" # plain xterm title ($3 for pwd)
;;
esac
}