Reduce redundancy

This commit is contained in:
Manuel Thalmann 2024-04-04 16:52:29 +02:00
parent d602bb237b
commit 0fa5492e68
8 changed files with 6 additions and 6 deletions
scripts/Common/Config/bash

View file

@ -4,7 +4,7 @@ pushd "${BASH_SOURCE%/*}" > /dev/null;
function addBashProfile() {
name="$1";
title="$2";
title="${2:-$1}";
addProfileStatement "$name" "$title" "/bin/bash" "sh" "/etc/bash/conf.d" "${@:3}";
}