Set system-wide variables macosx

to set the $SHELL env var permanently do it through this line opens with bash non-interactive shell it then uses ~/.bashrc to set system wide vars log out of shell then go back in lets edit the file to load files from /etc/profile.d Below is another way for login shells[…]

Read More »

Update PATH var in linux (Macosx)

I order to add to $PATHS systemwide var you can easily edit /etc/paths.d. You can add a file that has paths you would like to append to the $PATHS var. Make sure you have proper permissions to create a file in /etc/paths.d close your shell then jump into a new[…]

Read More »

Set env vars on linux per user (macosx)

first see what bash you are using for mac osx big sur its when using vscode on that same mac https://flaviocopes.com/shell-environment-variables/ running “ls” in /etc dir you get this depending on what shell you use, you want to set up your env vars in those files when search “zsh is[…]

Read More »