Add updatedevenv script

This commit is contained in:
Rob Watson 2021-04-23 03:49:39 +02:00
parent 41fa574f21
commit bd555d87d4
2 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,11 @@
# Note: run from ZSH in a different terminal emulator.
set -e
if pgrep alacritty > /dev/null; then
echo "Error: alacritty is running. Kill it and retry."
exit 1
fi
if ! [ -x "$(command -v cargo)" ]; then
echo "Install Rust toolchain first"
exit 1

9
script/updatedevenv Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Update development environment
set -e
updatealacritty
updatevim
updatevimplugins