From 4493a1b1867a7ed23e7bfbb96a113fb16560ab4b Mon Sep 17 00:00:00 2001 From: mitsuo Date: Mon, 22 Nov 2021 05:46:44 -0500 Subject: Cleanup bashrc and inputrc --- profile | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'profile') diff --git a/profile b/profile index eb10522..d47d1c6 100644 --- a/profile +++ b/profile @@ -1,11 +1,27 @@ -# On Debian this file is loaded when the user first logs in login(1) -# If you want something that loads everytime a new terminal emulator is launched -# then put it inside .bashrc +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if bash if [ "$SHELL" = "/bin/bash" ]; then . ~/.bashrc fi +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi + # Variables # ====================================================================== -- cgit v1.2.3