We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a13d6aa commit 0f25a51Copy full SHA for 0f25a51
install.sh
@@ -315,7 +315,10 @@ check_shell_magic() {
315
316
if gum confirm 'magic?' --affirmative="add one-liner" --negative="skip"
317
then
318
- "$SHELL" -c "function add_tea_environment --on-variable PWD; source <(teal -Eds|psub); end; funcsave add_tea_environment >/dev/null"
+ cat <<-EOSH >> "${XDG_CONFIG_HOME:-~/.config}/fish/config.fish"
319
+
320
+ function add_tea_environment --on-variable PWD; tea -Eds | source; end #tea
321
+ EOSH
322
fi
323
else
324
gum format -- <<-EOMD
0 commit comments