Remove old gebner prompt.

This commit is contained in:
Gabriel Ebner 2011-07-29 01:40:10 +02:00
parent 45bca57278
commit ba7d06593b
2 changed files with 2 additions and 35 deletions

@ -1,4 +1,4 @@
FILES = ratpoisonrc vimrc Xresources zshrc $(wildcard zfuncs/*) emacs.el \
FILES = ratpoisonrc vimrc Xresources zshrc emacs.el \
bashrc bash_completion screenrc commonshrc gnomerc gvimrc
ifeq "$(USER)" "gebner"
@ -15,7 +15,7 @@ endif
all: $(FILES) $(XFILES)
install: $(FILES) $(XFILES)
mkdir -p ~/.zfuncs ~/.ssh
mkdir -p ~/.ssh
for i in $(FILES); do install -m0644 $$i ~/.$$i; done
for i in $(XFILES); do install -m0755 $$i ~/.$$i; done

@ -1,33 +0,0 @@
#!/bin/zsh
autoload colors; colors
local host_color user_color user_sym user_prompt host_prompt
case "$HOST" in
schnecke1) host_color=blue ;;
schnecke2) host_color=green ;;
achatina) host_color=red ;;
*) host_color=yellow ;;
esac
case "$USER" in
gebner)
user_color=green
user_sym=\$
;;
root)
user_color=red
user_sym=\#
;;
*)
user_color=yellow
user_sym=\%
esac
user_prompt="%{$fg[$user_color]%}$USER%{$reset_color%}"
host_prompt="%{$fg[$host_color]%}$HOST%{$reset_color%}"
PS1="$user_prompt@$host_prompt %~ [%?] $user_sym "
PS2="%_ ... "
PS3="? "
PS4="%N:%i: "