diff --git a/script/installalacritty b/script/installalacritty index 8538c1f..298af40 100755 --- a/script/installalacritty +++ b/script/installalacritty @@ -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 diff --git a/script/updatedevenv b/script/updatedevenv new file mode 100755 index 0000000..a945987 --- /dev/null +++ b/script/updatedevenv @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# +# Update development environment + +set -e + +updatealacritty +updatevim +updatevimplugins