diff --git a/scripts/install-cargo-packages.sh b/scripts/install-cargo-packages.sh index 582a439..1c360e6 100755 --- a/scripts/install-cargo-packages.sh +++ b/scripts/install-cargo-packages.sh @@ -4,6 +4,8 @@ # shellcheck source=shared.sh source "$HOME/.dotfiles/scripts/shared.sh" +msg "Starting to install rust/cargo packages" + ! have cargo && { msg "cargo could not be found. installing cargo with rustup.rs" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path @@ -12,6 +14,8 @@ source "$HOME/.dotfiles/scripts/shared.sh" source "$CARGO_HOME/env" packages=( + # An incremental parsing system for programming tools + "tree-sitter-cli" # a subprocess caching utility "bkt" # a structural diff that understands syntax diff --git a/scripts/install-npm-packages.sh b/scripts/install-npm-packages.sh index 8c6afae..c6c58d8 100755 --- a/scripts/install-npm-packages.sh +++ b/scripts/install-npm-packages.sh @@ -4,6 +4,8 @@ # shellcheck source=shared.sh source "$HOME/.dotfiles/scripts/shared.sh" +msg "Starting to install npm packages" + ! have npm && msg_err "npm could not be found." && exit 0 packages=( diff --git a/scripts/install-pip-packages.sh b/scripts/install-pip-packages.sh index 5362e85..14b7305 100755 --- a/scripts/install-pip-packages.sh +++ b/scripts/install-pip-packages.sh @@ -6,13 +6,14 @@ source "$HOME/.dotfiles/scripts/shared.sh" msg "Starting to install pip packages" -! have pip && { - msg_err "Could not find pip, something really terrible is going on." && exit 1 +! have python3 && { + msg_err "Could not find python3, something really terrible is going on." && exit 1 } packages=( "pipx" "libtmux" + "ensurepath" ) for pkg in "${packages[@]}"; do @@ -27,4 +28,4 @@ for pkg in "${packages[@]}"; do echo "" done -msg_yay "Run pip package installation" +msg_yay "Run pip package installations" diff --git a/tools/requirements-pipx.txt b/tools/requirements-pipx.txt index f6e702d..6e7e34e 100644 --- a/tools/requirements-pipx.txt +++ b/tools/requirements-pipx.txt @@ -1,3 +1 @@ -ensurepath openapi-python-client -libtmux