⚡ refacts bash/profile setup
This commit is contained in:
9
.bash/shell/index.sh
Normal file
9
.bash/shell/index.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Shell configuration index
|
||||
# Source all shell-related configuration files
|
||||
|
||||
declare dir="$BASH_DOTFILES/shell"
|
||||
for file in "$dir"/*.sh; do
|
||||
[[ -f "$file" && "$file" != "$dir/index.sh" ]] && source "$file"
|
||||
done
|
||||
unset dir
|
||||
Reference in New Issue
Block a user