Permalink
Browse files

.zshrc: play better with lack of terminfo; .pinerc: Sent not sent-mail

  • Loading branch information...
1 parent 73ae030 commit 1698d27416e0346b0a0e9e06452e4c6e36fc0a88 Russell Pickett committed Mar 14, 2011
Showing with 58 additions and 13 deletions.
  1. +55 −3 .pinerc
  2. +3 −10 .zshrc
View
@@ -59,7 +59,7 @@ pruned-folders=
# Over-rides default path for sent-mail folder, e.g. =old-mail (using first
# folder collection dir) or ={host2}sent-mail or ="" (to suppress saving).
# Default: sent-mail (Unix) or SENTMAIL.MTX (PC) in default folder collection.
-default-fcc=
+default-fcc=Sent
# Over-rides default path for saved-msg folder, e.g. =saved-messages (using first
# folder collection dir) or ={host2}saved-mail or ="" (to suppress saving).
@@ -217,10 +217,10 @@ personal-print-command=
personal-print-category=
# Set by Pine; controls beginning-of-month sent-mail pruning.
-last-time-prune-questioned=110.10
+last-time-prune-questioned=111.3
# Set by Pine; controls display of "new version" message.
-last-version-used=6.00
+last-version-used=6.02
# This names the path to an alternative program, and any necessary arguments,
# to be used in posting mail messages. Example:
@@ -690,3 +690,55 @@ wp-columns=
# Add these customized headers (and possible default values) when composing
customized-hdrs=
+
+# Allows a user to specify the threading style of specific folders
+threading-display-style-rule=
+
+# Allows a user to specify the threading index style of specific folders
+threading-index-style-rule=
+
+# Allows a user to set rules when composing messages.
+compose-rules=
+
+# Allows a user to set rules when forwarding messages.
+forward-rules=
+
+# Allows a user to supersede global index format variable in designated folders.
+index-rules=
+
+# Allows a user to override keystrokes in certain screens.
+key-definition-rules=
+
+# Allows a user to change the form a specify field in the index-format is
+# displayed.
+replace-rules=
+
+# Allows a user to change the form a specify a reply-indent-string
+# based of rules.
+reply-indent-rules=
+
+# Allows a user to replace the reply-leadin message based on different parameters.
+reply-leadin-rules=
+
+# Allows a user to replace the subject of a message in a customs based way
+reply-subject-rules=
+
+# Allows a user to specify a save folder message for specific senders or folders.
+save-rules=
+
+# Allows a user to specify a smtp server to be used when sending e-mail,
+# according to the rules specified here.
+smtp-rules=
+
+# Allows a user to specify the sort default order of a specific folder.
+sort-rules=
+
+# Allows a user to specify the position of a highlighted message when opening a
+# folder.
+startup-rules=
+
+# Location relative to your HOME directory of the directory where your INBOX
+# for the maildir format is located. Default value is "Maildir". If your
+# inbox is located at "~/Maildir" you do not need to change this value.
+# A common value is also ".maildir"
+maildir-location=""
View
@@ -122,19 +122,12 @@ setprompt () {
# See if we can use colors.
autoload colors zsh/terminfo
- if [[ "$terminfo[colors]" -ge 8 ]]; then
- colors
- fi
- # this next line is b/c Centos 5.5 doesn't ship with zsh/terminfo so the test failz.
- if [[ `hostname` == 'yokel.hayseed.net' ]]; then
- colors
- fi
+ colors
for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
- eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
+ eval PR_$color='%{$fg_bold[${(L)color}]%}'
eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
- (( count = $count + 1 ))
done
- PR_NO_COLOUR="%{$terminfo[sgr0]%}"
+ PR_NO_COLOUR="%{$reset_color%}"
###

0 comments on commit 1698d27

Please sign in to comment.