From f464beda994279502c7f8fb6d0a43aca90db55a3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 1 May 2021 23:27:31 +0300 Subject: [PATCH] .bashrc: Copy minor initialization from `.profile` --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index 4f37298..97a08b9 100644 --- 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*) ;; -- 2.39.5