Prompt
From ThorxWiki
(Difference between revisions)
m (+image link) |
(.) |
||
Line 1: | Line 1: | ||
− | == my personal (zsh) prompt setups has == |
+ | == my personal (zsh) prompt setups has, on one line == |
* last exit status (teal normally, red with number when non-zero |
* last exit status (teal normally, red with number when non-zero |
||
Line 15: | Line 15: | ||
* vcs_info (I would probably replace tty info with this, with a colourisation to help the glancing eye notice) |
* vcs_info (I would probably replace tty info with this, with a colourisation to help the glancing eye notice) |
||
** http://ft.bewatermyfriend.org/comp/zsh/functions/prompt_ft_setup.html |
** http://ft.bewatermyfriend.org/comp/zsh/functions/prompt_ft_setup.html |
||
− | ** http://bewatermyfriend.org/media/vcs_info0.png |
+ | *** [http://bewatermyfriend.org/media/vcs_info0.png example of vcs_info] |
+ | |||
+ | ---- |
||
+ | |||
+ | My prompt config is not currently online, but will be made so on request. I hope to 'publish' it properly soon when I have it cleaned up a bit more. :) |
Revision as of 09:43, 23 November 2009
my personal (zsh) prompt setups has, on one line
- last exit status (teal normally, red with number when non-zero
- host:path in network friendly (ish) format
- path shortening to last three components, plus subtle visual indication when this occurs
- path colourisation to indicate $PWD RW vs RO
- ^ and $ reminder mnemonic for regex start/end line matching (I have a dyslexia about this!)
- live time and load average (load gets dynamic colourisation also)
- for values of "live" that = "20 second refresh"
- current tty
ideas I don't currently implement
- per-host auto-colourisation
- vcs_info (I would probably replace tty info with this, with a colourisation to help the glancing eye notice)
My prompt config is not currently online, but will be made so on request. I hope to 'publish' it properly soon when I have it cleaned up a bit more. :)