Sfoglia il codice sorgente

Use config variable in mw

pull/480/head
thehnm 4 anni fa
parent
commit
07276f5d24
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      bin/mw

+ 3
- 2
bin/mw Vedi File

@@ -16,8 +16,9 @@ maildir="$HOME/.local/share/mail" # Location of mail storage
namere="^[a-z_][a-z0-9_-]*$" # Regex to ensure viable username
emailre=".\+@.\+\\..\+" # Regex to confirm valid email address
muttshare="$prefix/share/mutt-wizard"
[ -d "$HOME/.config/isync" ] && mkdir -p $HOME/.config/isync
mbsyncrc="$HOME/.config/isync/mbsyncrc"
confighome=${XDG_CONFIG_HOME:=$HOME/.config} # Use already defined directory for config files or use default one
[ -d "$confighome/isync" ] && mkdir -p "$confighome"/isync
mbsyncrc="$confighome/isync/mbsyncrc"
mwconfig="$muttshare/mutt-wizard.muttrc"
cachedir="$HOME/.cache/mutt-wizard"
muttrc="$muttdir/muttrc"


Caricamento…
Annulla
Salva