From 1a9854427f2d6bfbc7add7ffa8e98c3d84fe83e4 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 9 Dec 2022 14:24:46 -0600 Subject: [PATCH] add shell to fnm initialization --- lib/env.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/env.zsh b/lib/env.zsh index 258175f..09149c9 100755 --- a/lib/env.zsh +++ b/lib/env.zsh @@ -52,9 +52,9 @@ if is-executable lf; then fi # ---------------- # -# if is-executable fnm && is-itty; then -# eval "$(fnm env)" -# fi +if is-executable fnm && ! is-tty; then + eval "$(fnm env --shell zsh)" +fi # if is-executable bat; then export BAT_THEME=Catppuccin