dotfiles/.config/fish/functions/outlook_ouath.fish

5 lines
212 B
Fish

function outlook_ouath --description 'refresh outlook ouath for aerc'
command rm ~/.cache/aerc/Outlook-xoauth2.token
set tokendir ~/tools
$tokendir/mutt_oauth2.py $tokendir/tokenfile --authorize
end