diff --git a/main.aliases b/main.aliases index bf189e5..013b610 100644 --- a/main.aliases +++ b/main.aliases @@ -11,3 +11,11 @@ alias alias-reload='source ~/.bashrc && echo "Reloaded ~/.bashrc"' # Run the alias Pull and Reload commands together alias alias-update='alias-pull && alias-reload' + +# Import alias files in this the cloned directory +for alias_file in "$bash_aliases"/*.aliases +do + if [ alias_file != "main.aliases" ]; then + . $bash_aliases/$alias_file + fi +done