Pārlūkot izejas kodu

Use config variable in mw

pull/480/head
thehnm pirms 4 gadiem
vecāks
revīzija
07276f5d24
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      bin/mw

+ 3
- 2
bin/mw Parādīt failu

@@ -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"


Notiek ielāde…
Atcelt
Saglabāt