diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 18:33:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 18:33:24 +0000 |
commit | 2d240c706fdccd408ed0ae47d59a98203f024d77 (patch) | |
tree | ba3d7ec67413ccec2cd03bd12993b1704642a7a6 /debian/skel.profile | |
parent | Adding upstream version 5.0. (diff) | |
download | bash-2d240c706fdccd408ed0ae47d59a98203f024d77.tar.xz bash-2d240c706fdccd408ed0ae47d59a98203f024d77.zip |
Adding debian version 5.0-4.debian/5.0-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/skel.profile')
-rw-r--r-- | debian/skel.profile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/skel.profile b/debian/skel.profile new file mode 100644 index 0000000..d89ea5a --- /dev/null +++ b/debian/skel.profile @@ -0,0 +1,27 @@ +# ~/.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 running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi |