Hello i have i3 wm setp and i wanted to bind some shell scripts to some keybinds problem is that they only work if i give an absolute path. i have already added the folder containing the script to my PATh variable using .zhenv but that does not help in this case. As explained in this post [[Solved] User scripts not being detected by xinitrc or dmenu / Newbie Corner / Arch Linux Forums] the path variable has to be added to earlier than .zshenv. i already tried the .zprofile file but it does not seem to change anything. i read that adding to /etc/zshenv could help but my file is in readonly mode. I am now asking if the programs.zsh.shellInit option in my configuration.nix would be a suitable place to put the PATH statement. i am at my wits end and sincerely asking for help.
Thank you very much for taking time out of your day to read this.