Move host-specific additional profiles into .config/ itself
[~bandali/configs] / .profile
index 67c643f..c4b9019 100644 (file)
--- a/.profile
+++ b/.profile
@@ -9,8 +9,8 @@
 #umask 022
 
 # source host-specific profile
 #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"
 fi
 
 export EDITOR="emacsclient -nw"