X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=.bash_profile;h=cd422cba77f0ddc919ffa47e510d318bd7868412;hp=45bec519025b7e3914396bebc08457f45fedfca1;hb=79b274fcd8bfa556133ab13270e84b40aebe8468;hpb=56c96a581a7645ec84108929f6a59fb77307144b diff --git a/.bash_profile b/.bash_profile index 45bec51..cd422cb 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,5 +1,20 @@ -# i prefer to just use screen on remote sessions -#if [[ $TERM != screen* ]]; then -# exec screen -dRR -#fi +# man bash covers everything comprehensively of course. i use ~/.bash_profile +# to source bashrc, and .profile just echos that the normal bash startup process +# is not happening. I don't source bashrc in posix mode based on debian's +# default, and posix mode is quirky, doesn't seem worth figuring it out This +# setup ensures no distro can override anything, as they occasionally do things +# I don't like. For example, debian's root .profile spamms with "mesg n"when +# there is no tty. The mesg n ensures the terminal is not writable by other +# users, but it is that way without the mesg n, and google search, and debian +# wiki search, /usr/share/doc search gives no justification for it, and it's not +# in fedora, so I'm pretty confident that it is useless redundant security, plus +# it is purposefully in a user startup file, not a system one, so intended for +# the user to change. + [[ -f ~/.bashrc ]] && . ~/.bashrc + +# ensure no bad programs appending to this file will have an affect +return 0 + + +export PATH="$HOME/.cargo/bin:$PATH"