commit bb2a13d15656c92de3844df97dde81507dc1b3c2 parent fb173649de7f7863075a98720e1097b6c6053fca Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Sat, 5 Dec 2015 22:16:01 +0100 add option to force neovim upgrade Diffstat:
M | bin/uu | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/bin/uu b/bin/uu @@ -25,3 +25,12 @@ git submodule sync; git submodule update # pip packages pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs sudo pip install -U + +# neovim +if [[ "$UNAMESTR" == 'Darwin' ]]; then + read -p "Do you want to force a neovim upgrade? [y/n]" -n 1 -r + echo + if [[ $REPLY =~ ^[Yy]$ ]]; then + brew reinstall --HEAD neovim + fi +fi