From 4c4de2dc2687c02e228f7d179964cf2c4b3c9467 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 25 Sep 2024 14:48:59 +0300 Subject: [PATCH] chore(config): tweaks to path, show script name --- base/zshrc | 2 +- scripts/install-cargo-packages.sh | 2 +- scripts/install-fzf.sh | 4 ++++ scripts/install-go-packages.sh | 2 +- scripts/install-npm-packages.sh | 2 +- scripts/install-pip-packages.sh | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/base/zshrc b/base/zshrc index 5cfb4d5..8d7a577 100755 --- a/base/zshrc +++ b/base/zshrc @@ -6,7 +6,7 @@ export DOTFILES="$HOME/.dotfiles" LOCAL_SHARE="$HOME/.local/share" -export PATH="$HOME/.local/bin:$DOTFILES/local/bin:$LOCAL_SHARE/nvim-kickstart/mason/bin:$LOCAL_SHARE/bob/nvim-bin:$LOCAL_SHARE/cargo/bin:/opt/homebrew/bin:/usr/local/bin:$PATH" +export PATH="$HOME/.local/bin:$DOTFILES/local/bin:$LOCAL_SHARE/nvim/mason/bin:$LOCAL_SHARE/bob/nvim-bin:$LOCAL_SHARE/cargo/bin:/opt/homebrew/bin:/usr/local/bin:$PATH" export SHARED_SCRIPTS_SOURCED=0 source "$DOTFILES/config/shared.sh" diff --git a/scripts/install-cargo-packages.sh b/scripts/install-cargo-packages.sh index f6d681b..080d07f 100755 --- a/scripts/install-cargo-packages.sh +++ b/scripts/install-cargo-packages.sh @@ -3,7 +3,7 @@ # # shellcheck source=shared.sh -echo "This file has been deprecated in favor of asdf. Please use asdf instead." +echo "This file ($0) has been deprecated in favor of asdf. Please use asdf instead." exit 0 eval "$HOME/.dotfiles/config/shared.sh" diff --git a/scripts/install-fzf.sh b/scripts/install-fzf.sh index 6c03664..987c1cd 100755 --- a/scripts/install-fzf.sh +++ b/scripts/install-fzf.sh @@ -2,6 +2,10 @@ # # Install fzf # + +echo "This file ($0) has been deprecated in favor of asdf. Please use asdf instead." +exit 0 + # shellcheck source=shared.sh eval "$DOTFILES/config/shared.sh" diff --git a/scripts/install-go-packages.sh b/scripts/install-go-packages.sh index 0ea23ca..16ac7bc 100755 --- a/scripts/install-go-packages.sh +++ b/scripts/install-go-packages.sh @@ -3,7 +3,7 @@ # # shellcheck source=shared.sh -echo "This file has been deprecated in favor of asdf. Please use asdf instead." +echo "This file ($0) has been deprecated in favor of asdf. Please use asdf instead." exit 0 eval "$DOTFILES/config/shared.sh" diff --git a/scripts/install-npm-packages.sh b/scripts/install-npm-packages.sh index adb7fac..05f6528 100755 --- a/scripts/install-npm-packages.sh +++ b/scripts/install-npm-packages.sh @@ -3,7 +3,7 @@ # # shellcheck source=shared.sh -echo "This file has been deprecated in favor of asdf. Please use asdf instead." +echo "This file ($0) has been deprecated in favor of asdf. Please use asdf instead." exit 0 eval "$DOTFILES/config/shared.sh" diff --git a/scripts/install-pip-packages.sh b/scripts/install-pip-packages.sh index f4db468..a0e5bc9 100755 --- a/scripts/install-pip-packages.sh +++ b/scripts/install-pip-packages.sh @@ -3,7 +3,7 @@ # # shellcheck source=shared.sh -echo "This file has been deprecated in favor of asdf. Please use asdf instead." +echo "This file ($0) has been deprecated in favor of asdf. Please use asdf instead." exit 0 source "${DOTFILES}/config/shared.sh"