Post AcqWAVJCotVi8WIYIi by 51rH0n3y84d93r@noagendasocial.com
(DIR) More posts by 51rH0n3y84d93r@noagendasocial.com
(DIR) Post #AcqVPsfa9AcyyjX6J6 by animeirl@shitposter.club
2023-12-15T21:19:37.236778Z
0 likes, 2 repeats
anyone familiar with macOS have best practices for setting PATH for non-login shells? I can add stuff to .zshenv for a user but then I end up with duplicate entries in PATH since it's also loaded for login shells
(DIR) Post #AcqVwEaeBObuEKeU7M by Tony@clew.lol
2023-12-15T21:25:28.740044Z
0 likes, 0 repeats
Maybe use a virtual environment for the shell you want? Then the PATHa stay isolated and won’t interfere with the login shells?
(DIR) Post #AcqWAVJCotVi8WIYIi by 51rH0n3y84d93r@noagendasocial.com
2023-12-15T21:28:03Z
0 likes, 0 repeats
@Tony @animeirl I'd also see what the FreeBSD guys typically do and check the forums since a lot of userland was taken from that project.
(DIR) Post #AcqWu3FHUULIQ8BIFk by animeirl@shitposter.club
2023-12-15T21:36:08.524940Z
0 likes, 0 repeats
i guess the traditional unix way is to add to /etc/paths.d but I only want this for one user
(DIR) Post #AcqX8WUBZYFLA73MWG by scathach@stereophonic.space
2023-12-15T21:38:50.137981Z
0 likes, 0 repeats
@animeirl They might be adding stuff to $PATH in /etc/zshrc which will fuck with your settings since on non-login shells it gets loaded after ~/.zshenvI had a pretty similar issue recently on OpenSuse
(DIR) Post #Acqdi5fvKZ289zt2X2 by animeirl@shitposter.club
2023-12-15T22:52:33.520405Z
1 likes, 0 repeats
@Tony it's a non-interactive non-login shell
(DIR) Post #AcqdtF76ZyM8cOv0Km by opal@ap.maladaptive.art
2023-12-15T22:54:30.604028Z
0 likes, 0 repeats
never expect people to read the key words of the post
(DIR) Post #Acqe2UHBZft0Fb2e6C by moesha@yuga.surf
2023-12-15T22:56:15.226136Z
0 likes, 0 repeats
@animeirl > I can add stuff to .zshenv for a user but then I end up with duplicate entries in PATH since it's also loaded for login shellsCould you then add a command to remove the old entries and just reset?
(DIR) Post #AcqeQRLo6Qwa7xcnyK by animeirl@shitposter.club
2023-12-15T23:00:30.088350Z
0 likes, 0 repeats
@scathach yeah they do which is why i normally avoid using .zshenv but as far as I can tell it's the only way zsh provides for doing stuff for per-user noninteractive, non-login sessions
(DIR) Post #AcqebB5WuHeIsL8D44 by scathach@stereophonic.space
2023-12-15T23:02:28.492418Z
0 likes, 0 repeats
@animeirl zshenv is loaded for noninteractive shells?
(DIR) Post #AcqejAfSM1VVt6kOHo by Tony@clew.lol
2023-12-15T23:03:57.448796Z
0 likes, 0 repeats
Hey, I read all the words but I’m new to software stuff. I barely understand the question 😂😂Jokes on you nerd
(DIR) Post #AcqextLV2T24VbQqR6 by Tony@clew.lol
2023-12-15T23:06:36.838992Z
0 likes, 0 repeats
so, like a PATH in the OS which runs in the background? maybe it’s a permission thing then, don’t give the login shells access to that specific PATH Location? sorry, testing my knowledge so I may sound extremely stupid.