From: Oleg Broytman Date: Sat, 1 May 2021 20:27:31 +0000 (+0300) Subject: .bashrc: Copy minor initialization from `.profile` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f464beda994279502c7f8fb6d0a43aca90db55a3;p=dotfiles.git .bashrc: Copy minor initialization from `.profile` --- 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*) ;;