Move host-specific additional profiles into .config/ itself
[~bandali/configs] / .profile
index 2644551..c4b9019 100644 (file)
--- a/.profile
+++ b/.profile
@@ -1,10 +1,16 @@
 # ~/.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
 
 # source host-specific profile
-if [ -f "$HOME/.config/profiles/$(hostname)" ]; then
-    . "$HOME/.config/profiles/$(hostname)"
+if [ -f "$HOME/.config/$(hostname).profile" ]; then
+    . "$HOME/.config/$(hostname).profile"
 fi
 
 export EDITOR="emacsclient -nw"