X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.bashrc;h=7faeed5e6f76cc10c7d8aea5b17d79bff1a54103;hb=25a2f5176e8801c59b7cf2bee1c7f8b186cfa8d5;hp=4a2414509a2936ec79bcd8c2867adebca5280562;hpb=b6806f08ea520931307aabd1d9e5c0ad5370057c;p=dotfiles.git diff --git a/.bashrc b/.bashrc index 4a24145..7faeed5 100644 --- a/.bashrc +++ b/.bashrc @@ -6,6 +6,14 @@ # 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 + +# Make `ssh host date` to display in 24-hour format +LANG=C + # If not running interactively, don't do anything case $- in *i*) ;; @@ -30,7 +38,6 @@ shopt -s checkwinsize [ "`type -t ls`" = alias ] && unalias ls [ "`type -t ll`" = alias ] && unalias ll -[ "`type -t mc`" = alias ] && unalias mc back() { cd - "$@"; } functions() { typeset -f "$@"; }