Comments on: My ZSH Prompt Long Overdue https://pthree.org/2008/11/23/727/ Linux. GNU. Freedom. Tue, 31 Oct 2017 18:00:46 +0000 hourly 1 https://wordpress.org/?v=5.0-alpha-42127 By: Georges Dupéron https://pthree.org/2008/11/23/727/#comment-111122 Mon, 30 Aug 2010 20:28:16 +0000 http://pthree.org/2008/11/23/727/#comment-111122 In your seventh snippet, it should be :

if [[ "$terminfo[colors]" -ge 8 ]]; then

instead of (-ge instead of -gt) :

if [[ "$terminfo[colors]" -gt 8 ]]; then

]]>
By: Aaron Toponce : More ZSH Prompt Love https://pthree.org/2008/11/23/727/#comment-110263 Wed, 14 Oct 2009 14:52:10 +0000 http://pthree.org/2008/11/23/727/#comment-110263 [...] blogged about this before a couple times, making improvements along the way: post 0, post 1, post 2, post 3. Check out those posts if you’re interested in what I’ve done to the prompt, [...]

]]>
By: dan https://pthree.org/2008/11/23/727/#comment-110113 Thu, 27 Aug 2009 02:30:46 +0000 http://pthree.org/2008/11/23/727/#comment-110113 nice work boss.

]]>
By: Zsh Prompt Magic | kriener.org https://pthree.org/2008/11/23/727/#comment-110031 Fri, 05 Jun 2009 06:45:18 +0000 http://pthree.org/2008/11/23/727/#comment-110031 [...] prompt used some of that too and rewrote a bit more and integrated some ideas of Aaron Toponce's My ZSH Prompt Long Overdue. Then I found out that there is a vcs_info function already in Zsh that can do all this and a lot [...]

]]>
By: Peter Hutterer: My workflow | Techie News https://pthree.org/2008/11/23/727/#comment-109966 Sat, 16 May 2009 00:48:39 +0000 http://pthree.org/2008/11/23/727/#comment-109966 [...] other thing that is incredibly helpful is the zsh git prompt I got from here and modified a bit. My current output [...]

]]>
By: James https://pthree.org/2008/11/23/727/#comment-109193 Tue, 30 Dec 2008 15:59:17 +0000 http://pthree.org/2008/11/23/727/#comment-109193 The images and file uploads have incorrect permissions 🙁

]]>
By: littleprince.zh https://pthree.org/2008/11/23/727/#comment-108929 Tue, 02 Dec 2008 17:07:42 +0000 http://pthree.org/2008/11/23/727/#comment-108929 One line needs some change:
autoload colors zsh/terminfo
if [[ "$terminfo[colors]" -gt 8 ]]; then
colors
fi

=>
autoload colors
zmodload zsh/terminfo
colors
This makes the color work.

]]>
By: Jan Larres https://pthree.org/2008/11/23/727/#comment-108915 Mon, 24 Nov 2008 18:49:36 +0000 http://pthree.org/2008/11/23/727/#comment-108915 You can simplify the testing and setting of the jobs expression to just:

JOBS="%(1j. J:%j.)"

]]>
By: Sebastian Bengtsson https://pthree.org/2008/11/23/727/#comment-108914 Sun, 23 Nov 2008 21:48:39 +0000 http://pthree.org/2008/11/23/727/#comment-108914 I only get black&white in both gnome-terminal and xterm (running gnome).
echo $terminfo[colors] yields 8
How could I activate colours?

]]>
By: Ronaldo Nascimento https://pthree.org/2008/11/23/727/#comment-108913 Sun, 23 Nov 2008 18:44:34 +0000 http://pthree.org/2008/11/23/727/#comment-108913 Will this work for bash? If not can someone conver it? It looks really useful.

]]>