summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile22
1 files changed, 19 insertions, 3 deletions
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
# ======================================================================