feat(Bash): support bash

This commit is contained in:
2026-04-03 16:15:31 +08:00
parent e384a4ad0c
commit d6e7b8b81f
13 changed files with 409 additions and 0 deletions

7
bash/bash_profile Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
if [[ -n "${BASH_VERSION:-}" ]]; then
_profile_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
[[ -f "$_profile_dir/bashrc" ]] && source "$_profile_dir/bashrc"
unset _profile_dir
fi