~/.profile
if [[ "$(umask)" = "0000" ]]; then
umask 0022
fi
~/.bashrc
if [ -z "$(pgrep ssh-agent)" ]; then
rm -rf /tmp/ssh-*
eval $(ssh-agent -s) > /dev/null
else
export SSH_AGENT_PID=$(pgrep ssh-agent)
export SSH_AUTH_SOCK=$(find /tmp/ssh-* -name agent.*)
fi
export VISUAL=vim
export EDITOR="$VISUAL"
export GPG_TTY=$(tty)
/etc/wsl.conf
[automount]
enabled = true
options = "metadata,umask=022,fmask=022,dmask=022"