stacks icon indicating copy to clipboard operation
stacks copied to clipboard

known issue: user's default shell environment not sourced correctly

Open cablehead opened this issue 1 year ago • 3 comments

pipe to shell currently sources .zshrc. It should source .zprofile as well

https://github.com/cablehead/stacks/blob/main/src-tauri/src/commands.rs#L74-L84

cablehead avatar Jan 11 '24 20:01 cablehead

I'm pretty sure I want to integrate Nushell directly into Stacks, and make pipe to shell, pipe to that integrated version of Nushell, which would bypass this issue (although it'd set people up with a less familiar scripting environment).

cablehead avatar May 31 '24 16:05 cablehead

Looks like this is the reason I'm receiving error when piping:

Снимок экрана 2024-05-31 в 20 27 06

VKondakoff avatar May 31 '24 17:05 VKondakoff

Yeah, it does. Thanks for the data point!

cablehead avatar May 31 '24 18:05 cablehead