Add updatedevenv script
This commit is contained in:
parent
41fa574f21
commit
bd555d87d4
|
@ -4,6 +4,11 @@
|
||||||
# Note: run from ZSH in a different terminal emulator.
|
# Note: run from ZSH in a different terminal emulator.
|
||||||
set -e
|
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
|
if ! [ -x "$(command -v cargo)" ]; then
|
||||||
echo "Install Rust toolchain first"
|
echo "Install Rust toolchain first"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Update development environment
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
updatealacritty
|
||||||
|
updatevim
|
||||||
|
updatevimplugins
|
Loading…
Reference in New Issue