big deletion fix
This commit is contained in:
		
							
								
								
									
										2
									
								
								bin/mw
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bin/mw
									
									
									
									
									
								
							@@ -220,7 +220,7 @@ pick() { printf "Select an accounts to %s:\\n" "$1"
 | 
				
			|||||||
	return 0 ;}
 | 
						return 0 ;}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
delete() { sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc"
 | 
					delete() { sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc"
 | 
				
			||||||
	rm -rf "${accdir:?}/${title:?}" "$accdir/[1-9]-$title.muttrc"
 | 
						rm -rf "${cachedir:?}/${title:?}" "$accdir/"[1-9]"-$title.muttrc"
 | 
				
			||||||
	sed -i "/[0-9]-$title.muttrc/d" "$muttrc"
 | 
						sed -i "/[0-9]-$title.muttrc/d" "$muttrc"
 | 
				
			||||||
	sed -i "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config"
 | 
						sed -i "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user