From 22a90cca43cc2d42cd8f658b6ee388a733afd9ed Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 24 Dec 2022 15:49:15 -0500 Subject: [PATCH] Move host-specific additional profiles into .config/ itself --- .config/{profiles/chaman => chaman.profile} | 0 .config/{profiles/darrud => darrud.profile} | 0 .config/{profiles/darya => darya.profile} | 0 .config/{profiles/langa => langa.profile} | 0 .profile | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) rename .config/{profiles/chaman => chaman.profile} (100%) rename .config/{profiles/darrud => darrud.profile} (100%) rename .config/{profiles/darya => darya.profile} (100%) rename .config/{profiles/langa => langa.profile} (100%) diff --git a/.config/profiles/chaman b/.config/chaman.profile similarity index 100% rename from .config/profiles/chaman rename to .config/chaman.profile diff --git a/.config/profiles/darrud b/.config/darrud.profile similarity index 100% rename from .config/profiles/darrud rename to .config/darrud.profile diff --git a/.config/profiles/darya b/.config/darya.profile similarity index 100% rename from .config/profiles/darya rename to .config/darya.profile diff --git a/.config/profiles/langa b/.config/langa.profile similarity index 100% rename from .config/profiles/langa rename to .config/langa.profile diff --git a/.profile b/.profile index 67c643f..c4b9019 100644 --- a/.profile +++ b/.profile @@ -9,8 +9,8 @@ #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" -- 2.20.1