Ver código fonte

prevent multiple homonymous accounts

tags/v3.1
Luke Smith 7 anos atrás
pai
commit
71d6bf9e65
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4C50B54A911F6252
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      bin/mw

+ 2
- 2
bin/mw Ver arquivo

@@ -142,8 +142,8 @@ EOF
read -r realname read -r realname
printf "Enter a short, \033[36mone-word identifier\033[0m for this email account that will distinguish them from any other accounts you add.\\n\tAccount name: " printf "Enter a short, \033[36mone-word identifier\033[0m for this email account that will distinguish them from any other accounts you add.\\n\tAccount name: "
read -r title read -r title
while ! echo "$title" | grep "$namere" >/dev/null; do
printf "\033[31mTry again\033[0m. Pick a nickname that is one word only including lowercase letters and _ or -.\\n\tAccount name: \033[36m\t"
while ! echo "$title" | grep "$namere" >/dev/null || ls "$accdir"/[0-9]"-$title.muttrc" >/dev/null 2>&1; do
printf "\033[31mTry again\033[0m. Pick a nickname that is one word only including lowercase letters and _ or - and that you have \033[1mnot\033[0m used before.\\n\tAccount name: \033[36m\t"
read -r title read -r title
printf "\033[0m" printf "\033[0m"
done done


Carregando…
Cancelar
Salvar