diff --git a/scripts/Common/Scripts/profile-base.fish b/scripts/Common/Scripts/profile-base.fish index 3638144b..6d5e0d9a 100644 --- a/scripts/Common/Scripts/profile-base.fish +++ b/scripts/Common/Scripts/profile-base.fish @@ -7,6 +7,10 @@ begin function addProfileStatement -a name title shellBin extension profileRoot content set -l file (mktemp) + if [ -z "$title" ] + set -l title "$name" + end + if [ -z "$content" ] read -l content end