diff options
author | Patrick Simianer <p@simianer.de> | 2020-02-04 14:05:59 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2020-02-04 14:05:59 +0100 |
commit | 3b85e6ad451f4ffa6d83ba4a6e9e33fd001fc615 (patch) | |
tree | 77004ab58ba1bbb10a814f8dfd89dda38c410af5 /zsh | |
parent | 87c0f2eadc724044e171af29482fb67d35cdfc35 (diff) | |
parent | 9dd6a1e94c648ef8d5cc767f746e641054cab6a3 (diff) |
Merge branch 'master' of git.fru.gal:dotfiles
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -150,7 +150,11 @@ zstyle ':prompt:rtab' nameddirs yes # exports # ############################################################################# -umask 0077 +if [[ $(whoami) == "root" ]]; then + umask 0022 +else + umask 0077 +fi export PATH=~/.local/bin:~/.local/sbin:$PATH export PATH=/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH |