diff options
author | Hugues Hiegel <hugues.hiegel@openwide.fr> | 2009-12-23 16:24:25 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@openwide.fr> | 2009-12-23 16:24:43 +0100 |
commit | cf7f43b209798153ab176151987c506d1c615472 (patch) | |
tree | 96f21df63ec17383e782159cb25532e4101fe8df | |
parent | d507b335aaf97bc85e70dd112a874fe8ca4c52fc (diff) |
[groumpf.openwide] removed specific prompt config since multiline correction
-rw-r--r-- | net:opera.openwide.fr/host:groumpf/Prompts.zsh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/net:opera.openwide.fr/host:groumpf/Prompts.zsh b/net:opera.openwide.fr/host:groumpf/Prompts.zsh deleted file mode 100644 index 09cd690..0000000 --- a/net:opera.openwide.fr/host:groumpf/Prompts.zsh +++ /dev/null @@ -1,28 +0,0 @@ -## -## Part of configuration files for Zsh 4 -## by Hugues Hiegel <hugues@hiegel.fr> -## -## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS -## -## You are encouraged to use, modify, and redistribute -## these files with or without this notice. -## - -preexec () -{ - term_title "$(echo $1 | tr ' \n' ' ;' | sed 's/%/%%/g;s/\\/\\\\/g;s/;$//')" - print -Pn "$C_$prompt_colors[exec]$_C" - - __START_CMD_DATE=$(date) - __START_CMD_ZSH_=$(date "+%s") -} - -precmd() -{ - __START_CMD_ZSH_=${__START_CMD_ZSH_:-$(date "+%s")} - [ "$[ `date "+%s"` - $__START_CMD_ZSH_ ]" -gt 1 ] && echo "[1;30m$__START_CMD_DATE[0m" - - update_prompt - redisplay_prompt -} - |