Skip to content

Commit

Permalink
76
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnerWill committed Aug 20, 2024
1 parent 44d0d1b commit 9ff55cf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .config/zsh/zsh/user/zsh.d/76_3rd_party.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#shellcheck disable=2148,2015
### [=]==================================[=]
### [~].......... SHELLFISH
### [=]==================================[=]

SHELLFISHRC="${SHELLFISHRC:-${HOME}/.shellfishrc}"
SHELLFISH_CONFIG_DIR="${SHELLFISH_CONFIG_DIR:-${XDG_CONFIG_HOME:-${HOME}/.config}/shellfish}"
export SHELLFISHRC SHELLFISH_CONFIG_DIR

if [[ -n "${LC_TERMINAL}" ]]; then
if [[ -f "${SHELLFISHRC}" ]]; then
if [[ ! -d "${SHELLFISH_CONFIG_DIR}" ]]; then
mkdir -pv "${SHELLFISH_CONFIG_DIR}"
fi
source "${SHELLFISHRC}" || echo "cant source shellfishrc"
else
unset SHELLFISHRC SHELLFISH_CONFIG_DIR
fi
fi

0 comments on commit 9ff55cf

Please sign in to comment.