]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Copy minor initialization from `.profile`
authorOleg Broytman <phd@phdru.name>
Sat, 1 May 2021 20:27:31 +0000 (23:27 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 1 May 2021 20:27:31 +0000 (23:27 +0300)
.bashrc

diff --git a/.bashrc b/.bashrc
index 4f372983d14ae52a51996ff03eaecbe093e40b9e..97a08b9a96a268f104ae56d6b02951151e167d0a 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -6,6 +6,11 @@
 # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
 # for examples
 
+# Copied from .profile to do minor initialization for non-interactive non-login-shells
+umask 077
+
+PATH="$HOME"/bin:"$HOME"/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
 # If not running interactively, don't do anything
 case $- in
     *i*) ;;