diff options
| author | mitsuo <[email protected]> | 2021-11-22 05:46:44 -0500 |
|---|---|---|
| committer | mitsuo <[email protected]> | 2021-11-22 05:46:44 -0500 |
| commit | 4493a1b1867a7ed23e7bfbb96a113fb16560ab4b (patch) | |
| tree | c72855cf94b12479cb8f1aa0a10b008e7fd4daef /profile | |
| parent | 33bfafb50ea8a9842cb41e599f487e3ee0146618 (diff) | |
| download | dotfiles-4493a1b1867a7ed23e7bfbb96a113fb16560ab4b.tar.gz dotfiles-4493a1b1867a7ed23e7bfbb96a113fb16560ab4b.tar.bz2 dotfiles-4493a1b1867a7ed23e7bfbb96a113fb16560ab4b.zip | |
Cleanup bashrc and inputrc
Diffstat (limited to 'profile')
| -rw-r--r-- | profile | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -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 # ====================================================================== |
