From 6f14c93898e2f6a0a9c5069317709ef1fce44d31 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 18 Jun 2022 00:49:38 -0400 Subject: [PATCH] Include additional zsh env (fzf/gnu tar) --- zsh/.config/zsh/.zshrc | 2 ++ zsh/.zshenv | 2 ++ 2 files changed, 4 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index a3c429b..df7fb85 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -42,3 +42,5 @@ else compinit -C fi unsetopt EXTENDEDGLOB + +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh diff --git a/zsh/.zshenv b/zsh/.zshenv index 532903a..2bb205b 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -15,6 +15,7 @@ if [[ "$OSTYPE" == darwin* ]]; then HOMEBREW_REPOSITORY="/opt/homebrew" GNU_SED_PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin" + GNU_TAR_PATH="/opt/homebrew/opt/gnu-tar/libexec/gnubin" GNU_TOOLS_PATH="/opt/homebrew/opt/coreutils/libexec/gnubin" GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman" @@ -25,6 +26,7 @@ if [[ "$OSTYPE" == darwin* ]]; then INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}"; [[ -d "$GNU_SED_PATH" ]] && PATH="$GNU_SED_PATH:$PATH" + [[ -d "$GNU_TAR_PATH" ]] && PATH="$GNU_TAR_PATH:$PATH" [[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH" [[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH" fi