Arreglar path de auto-process.sh
This commit is contained in:
parent
6b3e295a2a
commit
2f23f54736
|
@ -7,12 +7,12 @@ if [[ -n $NEWALIAS ]]
|
|||
then
|
||||
while read -r line
|
||||
do
|
||||
busqueda="$(abook --datafile ~/.correo_dec/dotfiles/abook --mutt-query $(echo $line | cut -d'<' -f2 | cut -d'>' -f1 | cut -d':' -f2 | sed 's/^ //'))"
|
||||
busqueda="$(abook --datafile ~/.abook --mutt-query $(echo $line | cut -d'<' -f2 | cut -d'>' -f1 | cut -d':' -f2 | sed 's/^ //'))"
|
||||
|
||||
# auto add sender to abook
|
||||
if [[ $busqueda = "Not found" ]]
|
||||
then
|
||||
echo $line | abook --datafile ~/.correo_dec/dotfiles/abook --add-email-quiet > /dev/null
|
||||
echo $line | abook --datafile ~/.abook --add-email-quiet > /dev/null
|
||||
fi
|
||||
|
||||
done < <(echo "$NEWALIAS")
|
||||
|
|
Loading…
Reference in New Issue