diff options
author | tdro <tdro@users.noreply.github.com> | 2021-05-06 02:12:54 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2021-05-06 02:12:54 -0400 |
commit | 78adda88a10014b8354f7ced8e3032bf5e96460a (patch) | |
tree | 83a72988bd3b120b1907ab4f69c69210b8c09da2 /.bash_profile | |
parent | 2cc6348dfdea3b0d2bb0bfbdf1fbc325274b666c (diff) | |
download | dotfiles-78adda88a10014b8354f7ced8e3032bf5e96460a.tar.gz dotfiles-78adda88a10014b8354f7ced8e3032bf5e96460a.tar.bz2 dotfiles-78adda88a10014b8354f7ced8e3032bf5e96460a.zip |
.bash_profile: Ensure umask
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile index d627809..e5144f0 100644 --- a/.bash_profile +++ b/.bash_profile @@ -19,6 +19,9 @@ export XAUTHORITY=$HOME/.config/X11/Xauthority; -configdir "$HOME/.config/X11/xorg.conf.d" \ -logfile "$HOME/.cache/xorg.log" vt1 -keeptty -auth "$XAUTHORITY"; +# set umask +umask 0022; + # set prompt PS1_USER='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] ' PS1_ROOT='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;31m\]\W\[\e[0m\] \[\e[0;31m\]\$\[\e[0m\] ' |