.zprofile not read/not working in terminal

Hi,
I just setup a new computer and wanted to get the ssh agent with KeepassXC running.
I’ve created a ~/.zprofile with

export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"

From within KeepassXC it works fine but when I start a new terminal in Plasma it seems to be that .zprofile is not read (as $SSH_AUTH_SOCK is empty`).

    ~  echo $SSH_AUTH_SOCK                                                                                                        

    ~  cat .zprofile                                                                                                              
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"

I installed my system from scratch a few days ago and realized that zsh is the default now. On my ohter PC it works perfect with zsh.

Can anybody point me into the right direction?

Thanks
Moritz

Hello,

make it .profile instead.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.