Commit a1c319db authored by Jorge Bucaran's avatar Jorge Bucaran

fix template generator using incorrect variable USERNAME → USER

parent aa8a770d
......@@ -18,10 +18,10 @@ function omf_new -a option name
cd $dir
set -l github (git config github.user)
test -z "$github"; and set github "{{USERNAME}}"
test -z "$github"; and set github "{{USER}}"
set -l user (git config user.name)
test -z "$user"; and set user "{{USERNAME}}"
test -z "$user"; and set user "{{USER}}"
omf_new_from_template "$OMF_PATH/pkg/omf/templates/$option" \
$github $user $name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment