Follow

why does arch run .bash_profile instead of .profile, I use zsh

@luana well, obviously, but debian always also runs .profile

@noiob @luana oh! .profile should be sourced on login, so it should be in your env for everything

but it also isn't run again for new terminals, so changes to it need a relog (unless you set terminals to always act as login terminals)

@noiob oh, weird! does zsh -l apply it..?

(and if not, does strace -o zsh.log zsh -l followed by a grep .profile zsh.log -A2 show anything interesting?)

@thingywott I dunno, I just threw it in .zshrc.local and called it a day and I'm currently far away from the computer. Will check later

@thingywott zsh -l doesn't parse .profile, there's nothing in the log as well. I don't think it's supposed to, that sounds like a job for login

@thingywott ah, found an answer, zsh wants .zprofile. I'm still pretty sure it works in debian but 🤷 debian does debian things superuser.com/questions/187639

@noiob ah! that's super-fun!

debian does have a lot of automatic, but i don't know that universal user shell .profiles were one of those things

@thingywott I'm actually not sure I just know that debian automatically adds ~/bin to $PATH if it exists

@noiob oh yeah! and .local/bin

i have no idea how it loads that in zsh by default though (i've never really used zsh)

@noiob yeah I’ve been trying to work that out too, it doesn’t run zsh the same way as any other distro or Unix I’ve used my dot files on lmao

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!