-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dotfiles): 🐛 add code comments for configuration.sh
- Loading branch information
1 parent
c1d567c
commit 5f73d98
Showing
1 changed file
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |