summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
AgeCommit message (Collapse)Author
2008-03-18Colors stored in an array instead of multiples annoying envvars.Hugues Hiegel
2008-03-14Use 'git-rev-parse --git-dir' to determinateHugues Hiegel
if we are on a .git managment folder or not.
2008-03-14Use git-rev-parse to get the commit-id, instead of 'git-show | head'..Hugues Hiegel
2008-03-14Get the git-commit-ish when named-rev is undefined.Hugues Hiegel
(Corrects commit 9088c1576c25eb8ab0e8ad466c1353bcfe4fbd39)
2008-03-14Better analysis of git-named-revs,Hugues Hiegel
with truncation of starting "tags/" or "remotes/" from the result.
2008-03-13Always truncates the path and git-branch to let a minimal free space for ↵Hugues Hiegel
command prompt in the same line. Almost 40 characters (50% of a 80-wide terminal) will always be free for the command prompt : - the path will then be shrinked inside the remaining space available (letting at least 10 characters for the git-branch), until it reaches 10 characters min. - the git-branch (or the named-git-rev, or the git-commit-id) will then be shrinked until 10 characters min., always displaying, if available, the parent-level (~...), and, always, the first letters of the git-branch/named-rev/commit-id.
2008-03-07- preprint now accepts a second argument to give the color to useHugues Hiegel
- .zlogin uses now preprint command
2008-03-07Better git status/colors codes managment.Hugues Hiegel
2008-03-07"fatal: Not a git repository"... Pfff...Hugues Hiegel
2008-03-07=?utf-8?q?-=20pas=20de=20branche=20GIT=20dans=20les=20dossiers=20non=20g=C3= ↵Hugues Hiegel
A9r=C3=A9s=20!! =20-=20d=C3=A9claration=20de=20DATE=3D=20pour=20le=20prompt=20dans=20le=20bon=20bloc..?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
2008-03-07Very much more better :Hugues Hiegel
get_git_branch() been optimized. returns the current git branch get_git_status() been optimized. returns colors code TODO : return an indicator which will be used to get the color code from an array term_title() prints titles inside screen and sets screens-titles too. colors codes use of zsh-builtin "autoload colors && colors" instead of computing fucking color codes :)
2008-03-07Colorizes git-branch into red if we are inside a .git managment folder.Hugues Hiegel
2008-03-07Get the named commit-id if we are not on a working branch,Hugues Hiegel
or the abbreviated commit-id if neither on a nameable commit-ish.
2008-03-07Get rid of error messages inside .git folders..Hugues Hiegel
2008-03-07Show abbreviated commit-id instead of "(no branch)" in prompt.Hugues Hiegel
2008-03-07=?utf-8?q?Ah=20ben=20en=20voil=C3=A0=20un=20test=20que=20il=20est=20mieux=20!Hugues Hiegel
=20Surtout=20quand=20on=20est=20dans=20un=20sous=20dossier=20et=20qu'on=20vient =20de=20faire=20un=20git-add=20<fichier>=20pour=20la=20premi=C3=A8re=20fois.?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
2008-03-07=?utf-8?q?Chtit=20bug=20=C3=A0=20la=20con=20quand=20on=20n'a=20aucun=20repos ↵Hugues Hiegel
itory=20GIT =20dans=20les=20dossiers=20parents...=20;-)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
2008-03-07Pas besoin de sortir les logs complets..Hugues Hiegel
2008-03-07Don't show anymore the git-branch and git-status on currentHugues Hiegel
folder if it does not figures under git managment.
2008-03-07Bug avec lsdiff qui ne prend pas en compte les ajouts/suppressions sous GITHugues Hiegel
2008-03-07Don't show anymore the "checking git status" bar because of mail check output.Hugues Hiegel
2008-03-07Git-status will be better like this.Hugues Hiegel
2008-03-07Lighten git-status managment on zsh...Hugues Hiegel
2008-03-07Fucking runstatus.Hugues Hiegel
2008-03-07Added re-activation of automagic git-status checking on user-demandHugues Hiegel
2008-03-07"Modularized" and automagic on-demand git-status.Hugues Hiegel
Conflicts: .zsh/01_Functions.zsh .zsh/11_Prompts.zsh .zsh/user:hugues/KeyBindings.zsh
2008-03-07Keybinding set to display real git-status.Hugues Hiegel
2008-03-07on-demand git-status (with M-g, and M-G to clear)Hugues Hiegel
2008-03-07Wow that's so very much beautifuuuul :o)hugues
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@466 a0e5b806-a6f9-0310-978d-cbce73f8a913
2008-03-07=?utf-8?q?Divers=20correctifshugues
=20 *=20privileged=5Fuser=20!=3D=20root,=20donc=20seulement=20en=20cas=20de=20root =20 *=20couleurs=20et=20autres=20dans=20Environnement=20plutot=20que=20Prompts =20 *=20utilisation=20de=20[]=20plut=C3=B4t=20que=20test =20 *=20et=20je=20sais=20plus...=20:)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@388 a0e5b806-a6f9-0310-978d-cbce73f8a913
2008-03-07Correctifs apportés suite à la mise à jour sur Prunelle (Darwin)hugues
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@386 a0e5b806-a6f9-0310-978d-cbce73f8a913
2008-03-07Petits correctifshugues
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@383 a0e5b806-a6f9-0310-978d-cbce73f8a913
2008-03-07=?utf-8?q?Tout=20plein=20de=20modifs,=20du=20m=C3=A9nage,=20des=20trucs=20en ↵hugues
=20plus, =20plus=20beaux,=20moins=20moches,=20plus=20mieux=20et=20tout=20et=20tout=208-)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@382 a0e5b806-a6f9-0310-978d-cbce73f8a913