Files
TerminalPolyjuice/bash/bash_profile
2026-04-03 16:15:31 +08:00

8 lines
213 B
Bash

#!/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