Age | Commit message (Collapse) | Author |
|
Don't forget to set "TERM" to "putty" when needed...
|
|
|
|
|
|
if we are on a .git managment folder or not.
|
|
|
|
(Corrects commit 9088c1576c25eb8ab0e8ad466c1353bcfe4fbd39)
|
|
with truncation of starting "tags/" or "remotes/" from the result.
|
|
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.
|
|
- .zlogin uses now preprint command
|
|
|
|
|
|
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
|
|
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 :)
|
|
|
|
or the abbreviated commit-id if neither on a nameable commit-ish.
|
|
|
|
|
|
=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
|
|
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
|
|
|
|
folder if it does not figures under git managment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
.zsh/01_Functions.zsh
.zsh/11_Prompts.zsh
.zsh/user:hugues/KeyBindings.zsh
|
|
|
|
|
|
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@466 a0e5b806-a6f9-0310-978d-cbce73f8a913
|
|
=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
|
|
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@386 a0e5b806-a6f9-0310-978d-cbce73f8a913
|
|
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@383 a0e5b806-a6f9-0310-978d-cbce73f8a913
|
|
=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
|