summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Functions/Prompts/prompt_clint_setup2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 27117bfd8..811a7d045 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-11-15  Clint Adams  <clint@zsh.org>
 
+	* unposted: Functions/Prompts/prompt_clint_setup:
+	typo that I didn't notice for four months.
+
 	* 16257: Completion/Debian/Command/.distfiles,
 	Completion/Debian/Command/_dput: completion for
 	dput as contributed by Tollef Fog Heen <tollef@add.no>.
diff --git a/Functions/Prompts/prompt_clint_setup b/Functions/Prompts/prompt_clint_setup
index 4f14fff8d..4b002586e 100644
--- a/Functions/Prompts/prompt_clint_setup
+++ b/Functions/Prompts/prompt_clint_setup
@@ -67,7 +67,7 @@ prompt_clint_apm_precmd () {
   local bat
 
   bat=${${="$(</proc/apm)"}[7]/%/%%}
-  [[ $bat == ("100%"|"-1%") ]] && psvar[3]=() || psvar[2]=$bat
+  [[ $bat == ("100%"|"-1%") ]] && psvar[2]=() || psvar[2]=$bat
 }
 
 prompt_clint_setup "$@"