Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
a845d194
Commit
a845d194
authored
Feb 19, 2018
by
Justin Hileman
Committed by
GitHub
Feb 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #596 from pxgamer/feature/fix-omf-new-year
Fix 'omf new' year in LICENSE files
parents
e23739d3
c78ce176
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
pkg/omf/functions/packages/omf.packages.new.fish
pkg/omf/functions/packages/omf.packages.new.fish
+2
-1
pkg/omf/templates/pkg/LICENSE
pkg/omf/templates/pkg/LICENSE
+1
-1
pkg/omf/templates/themes/LICENSE
pkg/omf/templates/themes/LICENSE
+1
-1
No files found.
pkg/omf/functions/packages/omf.packages.new.fish
View file @
a845d194
...
...
@@ -23,7 +23,8 @@ function __omf.packages.new.from_template -a path github user name
echo (basename "$file")
end
end)
sed "s/{{USER_NAME}}/$user/;s/{{GITHUB_USER}}/$github/;s/{{NAME}}/$name/" \
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
if test (basename $PWD) = $name
...
...
pkg/omf/templates/pkg/LICENSE
View file @
a845d194
The MIT License (MIT)
Copyright (c)
2016
{{USER_NAME}}
Copyright (c)
{{YEAR}}
{{USER_NAME}}
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
pkg/omf/templates/themes/LICENSE
View file @
a845d194
The MIT License (MIT)
Copyright (c)
2016
{{USER_NAME}}
Copyright (c)
{{YEAR}}
{{USER_NAME}}
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment