Sfoglia il codice sorgente

get available accounts from muttrcs

tags/v3.1
Luke Smith 5 anni fa
parent
commit
8b30d99552
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4C50B54A911F6252
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      mw

+ 1
- 1
mw Vedi File

@@ -294,7 +294,7 @@ wipe () { \
}

pick() { \
numbered="$(grep "^accounts *=" "$HOME/.config/offlineimap/config" | sed 's/accounts *= *//g;s/,/ /g;s/ \+/\n/g' | nl)"
numbered="$(ls $accdir/*muttrc | sed "s/.*\///;s/\..*//" | nl)"
[ "$(echo "$numbered" | wc -w)" = 0 ] && printf "No accounts to delete.\\n" && return 1
printf "Select an accounts to %s:\\n" "$1"
echo "$numbered"


Caricamento…
Annulla
Salva