mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-25 09:01:22 +08:00
Fix indentation style of omf.packages.new.fish
This commit is contained in:
parent
652d5e341a
commit
c78ce17637
|
@ -23,7 +23,7 @@ function __omf.packages.new.from_template -a path github user name
|
||||||
echo (basename "$file")
|
echo (basename "$file")
|
||||||
end
|
end
|
||||||
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/" \
|
sed "s/{{USER_NAME}}/$user/;s/{{GITHUB_USER}}/$github/;s/{{NAME}}/$name/;s/{{YEAR}}/$year/" \
|
||||||
$file > $target
|
$file > $target
|
||||||
echo (omf::em)" create "(omf::off)" "(begin
|
echo (omf::em)" create "(omf::off)" "(begin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user