Set profile title by default
This commit is contained in:
parent
150775e068
commit
b6d68043f0
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ begin
|
||||||
function addProfileStatement -a name title shellBin extension profileRoot content
|
function addProfileStatement -a name title shellBin extension profileRoot content
|
||||||
set -l file (mktemp)
|
set -l file (mktemp)
|
||||||
|
|
||||||
|
if [ -z "$title" ]
|
||||||
|
set -l title "$name"
|
||||||
|
end
|
||||||
|
|
||||||
if [ -z "$content" ]
|
if [ -z "$content" ]
|
||||||
read -l content
|
read -l content
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue