Files
inshellisense/shell/shellIntegration-env.zsh
Chapman Pendery 8f75afc2f1 fix: add shell integration support without requiring user installation (#101)
* fix: add shell integration support without requiring user installation

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: style lints

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: failing tests

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2023-12-05 12:24:48 -08:00

10 lines
184 B
Bash

if [[ -f $USER_ZDOTDIR/.zshenv ]]; then
ZDOTDIR=$USER_ZDOTDIR
# prevent recursion
if [[ $USER_ZDOTDIR != $ZDOTDIR ]]; then
ZDOTDIR=$USER_ZDOTDIR
. $USER_ZDOTDIR/.zshenv
fi
fi