Fix indentation style of omf.packages.new.fish

This commit is contained in:
pxgamer 2018-02-19 16:49:35 +00:00
parent 652d5e341a
commit c78ce17637
No known key found for this signature in database
GPG Key ID: 8F15E14C0F7BA063

View File

@ -23,7 +23,7 @@ function __omf.packages.new.from_template -a path github user name
echo (basename "$file")
end
end)
set -l year (date +%Y)
set -l year (date +%Y)
sed "s/{{USER_NAME}}/$user/;s/{{GITHUB_USER}}/$github/;s/{{NAME}}/$name/;s/{{YEAR}}/$year/" \
$file > $target
echo (omf::em)" create "(omf::off)" "(begin