Improve Makefile & shell configs

* Add cross platform support in Makefile

 * Add host-specific configurations support.
This commit is contained in:
2023-04-07 18:10:19 +02:00
parent ecff222168
commit abe39a16f3
6 changed files with 112 additions and 31 deletions

10
_zshrc
View File

@@ -109,7 +109,17 @@ unsetopt correct_all
export VISUAL=vi
export EDITOR=vi
# Host-specific definitions
if [ -f "${HOME}/.host.zshrc" ]; then
. "${HOME}/.host.zshrc"
fi
# Alias definitions
if [ -f "${HOME}/.bash_aliases" ]; then
. "${HOME}/.bash_aliases"
fi
# Host-specific alias definitions
if [ -f "${HOME}/.host.aliases" ]; then
. "${HOME}/.host.aliases"
fi