Reduce redundancy
This commit is contained in:
parent
d602bb237b
commit
0fa5492e68
8 changed files with 6 additions and 6 deletions
scripts/Common/Config/bash
|
@ -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}";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue