cherry-pick https://github.com/seletskiy/dotfiles/commit/ac47b9449b73d09deb812deb6ff566e67ff0ae08