Browse Source

Add GPL header template

master
Causal Agent 1 month ago
parent
commit
94fd6dab3c
Signed by: C. McEnroe <june@causal.agency> GPG Key ID: CEA2F97ADCFCD77C
2 changed files with 21 additions and 0 deletions
  1. +20
    -0
      etc/gpl.c
  2. +1
    -0
      home/.config/nvim/init.vim

+ 20
- 0
etc/gpl.c View File

@@ -0,0 +1,20 @@
/* Copyright (C) 2019 C. McEnroe <june@causal.agency>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <sysexits.h>

+ 1
- 0
home/.config/nvim/init.vim View File

@@ -32,3 +32,4 @@ nmap gp `[v`]
nmap <leader>s vip:sort<CR>
nmap <leader>a m':0/^#include <<CR>:nohlsearch<CR>O#include <
nmap <leader>l :0read ~/src/etc/agpl.c<CR>''
nmap <leader>L :0read ~/src/etc/gpl.c<CR>''

Loading…
Cancel
Save