From 748cb5a2da61028b4dc25b82988154351495ec45 Mon Sep 17 00:00:00 2001 From: Pascal Zarrad Date: Mon, 25 Mar 2024 20:55:44 +0100 Subject: [PATCH] feat: add automated homebrew path support --- templates/brew_path_support.template.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/brew_path_support.template.zshrc diff --git a/templates/brew_path_support.template.zshrc b/templates/brew_path_support.template.zshrc new file mode 100644 index 0000000..6dcb332 --- /dev/null +++ b/templates/brew_path_support.template.zshrc @@ -0,0 +1,6 @@ +#PSH_TEMPLATE=END +# If we have a linuxbrew directory, we will include the brew path support +# This way installing psh after brew automatically adds the brew path support. +if [ -d "/home/linuxbrew/.linuxbrew" ]; then + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" +fi