Skip to content

Commit

Permalink
fix(dotfiles): 🐛 add code comments for configuration.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Feb 19, 2024
1 parent c1d567c commit 5f73d98
Showing 1 changed file with 26 additions and 8 deletions.
34 changes: 26 additions & 8 deletions lib/configurations.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
#!/usr/bin/env bash

# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
# Made with ♥ in London, UK by @wwdseb
# Copyright (c) 2015-2024. All rights reserved
# License: MIT
################################################################################
# 🅳🅾🆃🅵🅸🅻🅴🆂
# Script: configurations.sh
# Version: 0.2.468
# Author: @wwdseb
# Copyright (c) 2015-2024. All rights reserved
# Description: Script to manage shell configurations
# Website: https://dotfiles.io
# License: MIT
################################################################################

## 🅲🅾🅽🅵🅸🅶🆄🆁🅰🆃🅸🅾🅽🆂
for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
# shellcheck source=/dev/null
source "${config}"
done
# Function: load_custom_configurations
#
# Description:
# Loads custom shell configurations from the specified directory.
#
# Arguments:
# None
#
# Further Reading:
# ShellCheck Documentation: https://github.com/koalaman/shellcheck

load_custom_configurations() {
for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
# shellcheck source=/dev/null
source "${config}"
done
}

load_custom_configurations

0 comments on commit 5f73d98

Please sign in to comment.