summaryrefslogtreecommitdiff
path: root/11_Prompts.zsh
diff options
context:
space:
mode:
Diffstat (limited to '11_Prompts.zsh')
-rw-r--r--11_Prompts.zsh25
1 files changed, 1 insertions, 24 deletions
diff --git a/11_Prompts.zsh b/11_Prompts.zsh
index d3b4062..5ca1a02 100644
--- a/11_Prompts.zsh
+++ b/11_Prompts.zsh
@@ -71,19 +71,6 @@ COLOR_DATE="0;$GENERIC"
# precmd : avant d'afficher le prompt
#
-term_title()
-{
- [[ -t 1 ]] &&
- case $TERM in
- sun-cmd)
- print -Pn "\e]l%n@%m %~$1\e\\" ;;
- *term*|rxvt*)
- print -Pn "\e]0;%n@%m (%l) %~$1\a" ;;
- *)
- ;;
- esac
-}
-
preexec ()
{
term_title " ยทยทยท $(echo $1 | tr ' \n' ' ;' | sed 's/%/%%/g;s/\\/\\\\/g')"
@@ -94,16 +81,6 @@ GITCHECK=${GITCHECK:-yeah}
#SVNCHECK=${SVNCHECK:-yeah}
#unset GITCHECK SVNCHECK
-preprint()
-{
- hbar=
- for i in {1..$(($COLUMNS - ${#1} - 5))}
- do
- hbar=$hbar-
- done
- print -Pn "${C_}0;30;1${_C}${hbar}[ $1 ]-\r"
-}
-
precmd ()
{
term_title
@@ -162,7 +139,7 @@ precmd ()
chpwd()
{
which todo > /dev/null 2>&1 && todo
- get_git_status
+ check_git_status
}