summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-11-06 18:08:32 +0100
committerAhmed Abdelhalim <[email protected]>2024-11-06 18:08:32 +0100
commitafe55bad8b67656fbad0e713bda431d6f981e874 (patch)
tree3fe518377641ae5078ef4cc28b1def199cbe5344
parenta49fb708dc82d23426af7fa6746836c0dcca740e (diff)
Fix recipes and nvm command
-rw-r--r--.bash_profile2
-rw-r--r--Brewfile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile
index 98ebe8e..cef07c9 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -97,7 +97,7 @@ fi
# ==== NVM config
# node version manager from homebrew ,the source line to move install location
# and prevent Node installs being lost upon upgrading nvm.
-if command -v nvm 1>/dev/null 2>&1; then
+if [ -f $(brew --prefix nvm)/nvm.sh ]; then
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
fi
diff --git a/Brewfile b/Brewfile
index a2a495d..e84783d 100644
--- a/Brewfile
+++ b/Brewfile
@@ -69,7 +69,7 @@ cask "bruno"
### Work
# tap "homebrew/cask-versions"
-brew "iterm2"
+cask "iterm2"
# brew "gradle@6"
brew "jq"
# brew "kubectl"
@@ -87,7 +87,7 @@ brew "docker-completion"
brew "podman"
brew "podman-compose"
cask "podman-desktop"
-brew "plantUML"
+brew "plantuml"
# brew "clang-format"
# brew "sphinx-doc"
# brew "java11"