Fixed mistakes in templates and sed statements.

This commit is contained in:
Storm Dragon 2025-04-10 08:08:41 -04:00
parent 7ce163b271
commit 8d508416c3
2 changed files with 10 additions and 10 deletions

View File

@ -10,18 +10,18 @@ set print = yes
set imap_check_subscribed = yes set imap_check_subscribed = yes
set sort_alias = alias set sort_alias = alias
set reverse_alias = yes set reverse_alias = yes
set alias_file = ${muttHome/#$HOME/\~}/aliases set alias_file = MUTTHOME/aliases
source ${muttHome/#$HOME/\~}/aliases source MUTTHOME/aliases
set history_file = ${muttHome/#$HOME/\~}/history set history_file = MUTTHOME/history
set history = 1024 set history = 1024
set mailcap_path = ${muttHome/#$HOME/\~}/mailcap set mailcap_path = MUTTHOME/mailcap
set header_cache = ${muttHome/#$HOME/\~}/cache/headers set header_cache = MUTTHOME/cache/headers
set message_cachedir = ${muttHome/#$HOME/\~}/cache/bodies set message_cachedir = MUTTHOME/cache/bodies
set certificate_file = ${muttHome/#$HOME/\~}/certificates set certificate_file = MUTTHOME/certificates
set markers = no set markers = no
unset mark_old unset mark_old
auto_view text/html auto_view text/html
alternative_order text/plain text/enriched text/html alternative_order text/plain text/enriched text/html
message-hook '!(~g|~G) ~b\"^ 5 dash charactersBEGIN\\ PGP\\ (SIGNED\\ )?MESSAGE\"' "exec check-traditional-pgp" message-hook '!(~g|~G) ~b\"^ 5 dash charactersBEGIN\\ PGP\\ (SIGNED\\ )?MESSAGE\"' "exec check-traditional-pgp"
source ${muttHome/#$HOME/\~}/gpg.rc source MUTTHOME/gpg.rc
source ${muttHome/#$HOME/\~}/macros source MUTTHOME/macros

View File

@ -226,7 +226,7 @@ initialize_directory() {
esac esac
# Replace muttHome in muttrc # Replace muttHome in muttrc
sed -i "s|\$muttHome|${muttHome/#$HOME/\~}|g" "$muttHome/muttrc" sed -i "s|\$muttHome|${muttHome}|g" "$muttHome/muttrc"
fi fi
# Create the decrypt helper script # Create the decrypt helper script