about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-11-15 19:41:52 +0000
committerClint Adams <clint@users.sourceforge.net>2001-11-15 19:41:52 +0000
commit34eb20dac67467d3e305375220669fc93238099b (patch)
tree72fdbff7e6a84cd38b1fc9f8a23be4c5fbe1922a
parent38e45bc725d42c9221957982a2ccf8eb5214f23d (diff)
downloadzsh-34eb20dac67467d3e305375220669fc93238099b.tar.gz
zsh-34eb20dac67467d3e305375220669fc93238099b.tar.xz
zsh-34eb20dac67467d3e305375220669fc93238099b.zip
unposted: typo fix
-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 "$@"