diff options
author | Amin Bandali <bandali@gnu.org> | 2022-12-24 15:49:15 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2022-12-24 15:49:15 -0500 |
commit | 22a90cca43cc2d42cd8f658b6ee388a733afd9ed (patch) | |
tree | 5f2c6c54876e79636269b23e3f7b061b7482e860 | |
parent | 0a2ebcf45c0a40dd258e91bd2f4a3bd90b0fae18 (diff) | |
download | configs-22a90cca43cc2d42cd8f658b6ee388a733afd9ed.tar.gz configs-22a90cca43cc2d42cd8f658b6ee388a733afd9ed.tar.xz configs-22a90cca43cc2d42cd8f658b6ee388a733afd9ed.zip |
Move host-specific additional profiles into .config/ itself
Diffstat (limited to '')
-rw-r--r-- | .config/chaman.profile (renamed from .config/profiles/chaman) | 0 | ||||
-rw-r--r-- | .config/darrud.profile (renamed from .config/profiles/darrud) | 0 | ||||
-rw-r--r-- | .config/darya.profile (renamed from .config/profiles/darya) | 0 | ||||
-rw-r--r-- | .config/langa.profile (renamed from .config/profiles/langa) | 0 | ||||
-rw-r--r-- | .profile | 4 |
5 files changed, 2 insertions, 2 deletions
diff --git a/.config/profiles/chaman b/.config/chaman.profile index 1c68d03..1c68d03 100644 --- a/.config/profiles/chaman +++ b/.config/chaman.profile diff --git a/.config/profiles/darrud b/.config/darrud.profile index a6902ec..a6902ec 100644 --- a/.config/profiles/darrud +++ b/.config/darrud.profile diff --git a/.config/profiles/darya b/.config/darya.profile index 84135a6..84135a6 100644 --- a/.config/profiles/darya +++ b/.config/darya.profile diff --git a/.config/profiles/langa b/.config/langa.profile index 632e2a8..632e2a8 100644 --- a/.config/profiles/langa +++ b/.config/langa.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" |