Un prompt Git qui déchire • Git Attitude : formations #Git qualitatives et sympathiques
▻http://www.git-attitude.fr/2013/05/22/prompt-git-qui-dechire
Cet article vise à vous aider à optimiser votre #prompt quand vous êtes dans vos dépôts Git.
Un prompt Git qui déchire • Git Attitude : formations #Git qualitatives et sympathiques
▻http://www.git-attitude.fr/2013/05/22/prompt-git-qui-dechire
Cet article vise à vous aider à optimiser votre #prompt quand vous êtes dans vos dépôts Git.
+ ça : Une Configuration Git Aux Petits Oignons :
Chez moi, je ne suis pas allé jusqu’à coder mon propre prompt (qui a dit « petit joueur » ? ^^) : j’ai utilisé le theme/prompt #zsh « pure » de Sindre Sorhus : ▻https://github.com/sindresorhus/pure
Pretty, minimal and fast ZSH prompt
– Comes with the perfect prompt character. Author went through the whole Unicode range to find it.
– Shows git branch and whether it’s dirty using the fastest method available.
– Prompt character turns red if the last command didn’t exit with 0.
– Command execution time will be displayed if it exceeds the set threshold.
– Username and host is only displayed when in an SSH session.
– Shows the current path in the title and the current directory and command when a process is running.
– Can easily be used as a starting point for your own custom prompt.
Si ça peut aider (il y peut être des choses à y reprendre pour un codeur de prompt)...