PortValhalla/scripts/Common/Config/bash/profile.sh

12 lines
260 B
Bash
Raw Normal View History

#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../../Scripts/profile-base.sh";
function addBashProfile() {
name="$1";
2024-04-04 14:52:29 +00:00
title="${2:-$1}";
2024-03-25 17:07:40 +00:00
addProfileStatement "$name" "$title" "/bin/bash" "sh" "/etc/bash/conf.d" "${@:3}";
}
popd > /dev/null;