Преглед изворни кода

get available accounts from muttrcs

tags/v3.1
Luke Smith пре 5 година
родитељ
комит
8b30d99552
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mw

+ 1
- 1
mw Прегледај датотеку

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


Loading…
Откажи
Сачувај