From 614f9080ac810a2f4c0a5244bca856f3358e625e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 25 Jan 2012 23:30:50 +0100 Subject: [PATCH] *: License under GPL v3+. --- bash/logout | 15 +++++++++++++++ bash/profile | 15 +++++++++++++++ bash/rc | 15 +++++++++++++++ bin/battery.pl | 15 +++++++++++++++ bin/calc | 16 ++++++++++++++++ bin/git-update-all.sh | 15 +++++++++++++++ bin/git-update.sh | 15 +++++++++++++++ bin/mv-p | 15 +++++++++++++++ bin/pdftotext- | 16 ++++++++++++++++ bin/svalgrind | 16 ++++++++++++++++ bin/svalgrind-ptr | 16 ++++++++++++++++ bin/temperature.pl | 15 +++++++++++++++ colordiffrc | 15 +++++++++++++++ csh/rc | 15 +++++++++++++++ inputrc | 15 +++++++++++++++ lessfilter | 16 ++++++++++++++++ lesskey | 15 +++++++++++++++ screenrc.in | 15 +++++++++++++++ setup.sh | 15 +++++++++++++++ shell/aliases | 15 +++++++++++++++ shell/env | 15 +++++++++++++++ shell/functions | 15 +++++++++++++++ shell/logout | 15 +++++++++++++++ ssh_config | 15 +++++++++++++++ tmux.conf | 15 +++++++++++++++ zsh/env | 15 +++++++++++++++ zsh/logout | 15 +++++++++++++++ zsh/rc | 15 +++++++++++++++ 28 files changed, 425 insertions(+) diff --git a/bash/logout b/bash/logout index ed0559a..12f1e5d 100644 --- a/bash/logout +++ b/bash/logout @@ -1,5 +1,20 @@ # Bash logout file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + source_config ~/.shell/logout diff --git a/bash/profile b/bash/profile index 4c25552..864f88b 100644 --- a/bash/profile +++ b/bash/profile @@ -1,5 +1,20 @@ # Bash login configuration file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Load ~/.bashrc if it exists. if [[ -f ~/.bashrc ]]; then diff --git a/bash/rc b/bash/rc index 3cc4827..af7b446 100644 --- a/bash/rc +++ b/bash/rc @@ -2,6 +2,21 @@ # # Is sourced by all interactive shells and other shells like scp or rcp. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + . ~/.shell/functions diff --git a/bin/battery.pl b/bin/battery.pl index ed57666..41956ac 100755 --- a/bin/battery.pl +++ b/bin/battery.pl @@ -1,5 +1,20 @@ #!/usr/bin/perl +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + use strict; use warnings; diff --git a/bin/calc b/bin/calc index 7f4b035..e70128a 100755 --- a/bin/calc +++ b/bin/calc @@ -1,5 +1,21 @@ #!/bin/sh +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + + python -i -c 'from math import *; def ld(x): diff --git a/bin/git-update-all.sh b/bin/git-update-all.sh index 45ef0fa..92ea49e 100755 --- a/bin/git-update-all.sh +++ b/bin/git-update-all.sh @@ -4,5 +4,20 @@ # # All arguments are passed to git-update.sh. +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + find . -name .git -type d -exec git-update.sh "$@" {} \; | less diff --git a/bin/git-update.sh b/bin/git-update.sh index de71bec..7ec186b 100755 --- a/bin/git-update.sh +++ b/bin/git-update.sh @@ -9,6 +9,21 @@ # # Very useful to sync multiple remotes. +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + LOCAL= if [ x$1 = x--local ];then diff --git a/bin/mv-p b/bin/mv-p index 62b1b36..2faade8 100755 --- a/bin/mv-p +++ b/bin/mv-p @@ -3,6 +3,21 @@ # Wrapper command for `mv` which creates the target directory before moving # the file there. +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + # Get last argument. for last; do :; done diff --git a/bin/pdftotext- b/bin/pdftotext- index 8606356..23cb262 100755 --- a/bin/pdftotext- +++ b/bin/pdftotext- @@ -1,3 +1,19 @@ #!/bin/sh +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + + pdftotext "$@" - diff --git a/bin/svalgrind b/bin/svalgrind index 92ef3ab..5dd8c9a 100755 --- a/bin/svalgrind +++ b/bin/svalgrind @@ -1,4 +1,20 @@ #!/bin/sh +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + + valgrind --leak-check=full --show-reachable=yes --error-exitcode=1 \ --track-fds=yes "$@" diff --git a/bin/svalgrind-ptr b/bin/svalgrind-ptr index 965a587..29eaa35 100755 --- a/bin/svalgrind-ptr +++ b/bin/svalgrind-ptr @@ -1,3 +1,19 @@ #!/bin/sh +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + + valgrind --tool=exp-ptrcheck --error-exitcode=1 "$@" diff --git a/bin/temperature.pl b/bin/temperature.pl index e342dfd..9ee40cd 100755 --- a/bin/temperature.pl +++ b/bin/temperature.pl @@ -1,5 +1,20 @@ #!/usr/bin/perl +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + use strict; use warnings; diff --git a/colordiffrc b/colordiffrc index 8848094..d8f91db 100644 --- a/colordiffrc +++ b/colordiffrc @@ -1,5 +1,20 @@ # Colordiff configuration file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Custom colors for the diff output which is more similar to TextMate's output # (new: green, old: red). diff --git a/csh/rc b/csh/rc index 543b053..597f47a 100644 --- a/csh/rc +++ b/csh/rc @@ -1,5 +1,20 @@ # Csh configuration file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Start Zsh in interactive login mode, otherwise do nothing. -l is used so Zsh # sources .zlogin and .zlogout. diff --git a/inputrc b/inputrc index 981c621..0e702f1 100644 --- a/inputrc +++ b/inputrc @@ -1,5 +1,20 @@ # Configuration file for readline. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Only one is necessary to get a list of all possible options. set show-all-if-ambiguous on diff --git a/lessfilter b/lessfilter index 3570c79..4a51b13 100755 --- a/lessfilter +++ b/lessfilter @@ -1,5 +1,21 @@ #!/bin/sh +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + + case "$1" in # Color diff files. *.diff | *.patch) diff --git a/lesskey b/lesskey index dceb312..a5aac7a 100644 --- a/lesskey +++ b/lesskey @@ -1,5 +1,20 @@ # Lesskey configuration file for less. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + #command diff --git a/screenrc.in b/screenrc.in index ae27843..4666ca5 100644 --- a/screenrc.in +++ b/screenrc.in @@ -6,6 +6,21 @@ # # (BATTERY) is only used on laptops, (ROOT) only if running as root. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Automatically lock the screen after 10 minutes of inactivity if running as # root. diff --git a/setup.sh b/setup.sh index 5f18eb2..51074e2 100755 --- a/setup.sh +++ b/setup.sh @@ -2,6 +2,21 @@ # Setup script for shell configuration files. +# Copyright (C) 2011-2012 Simon Ruderich +# +# 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 . + . ../lib.sh diff --git a/shell/aliases b/shell/aliases index c508f6f..98e2931 100644 --- a/shell/aliases +++ b/shell/aliases @@ -1,6 +1,21 @@ # Aliases and similar functions which can be used by all shells (supporting # them). +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Shortcuts for often used programs. alias c=clear diff --git a/shell/env b/shell/env index b7b1e13..2047e60 100644 --- a/shell/env +++ b/shell/env @@ -1,5 +1,20 @@ # Configuration file for environment related options for all shells. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + source_debug ". ~/.shell/env" diff --git a/shell/functions b/shell/functions index f3a4096..10283a3 100644 --- a/shell/functions +++ b/shell/functions @@ -1,5 +1,20 @@ # Shell functions useful to all shells. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Helper function to print debug information if $DEBUG is not empty. # diff --git a/shell/logout b/shell/logout index 491f594..4c5eb30 100644 --- a/shell/logout +++ b/shell/logout @@ -1,5 +1,20 @@ # Shell logout file usable by all shells. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # When leaving the console clear the screen to increase privacy. Taken from # Debian default bash files and modified. Thanks. diff --git a/ssh_config b/ssh_config index 4b9d10e..b61298d 100644 --- a/ssh_config +++ b/ssh_config @@ -1,5 +1,20 @@ # SSH configuration file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # Rules for all hosts. Host * diff --git a/tmux.conf b/tmux.conf index fbecbad..e4d3340 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,5 +1,20 @@ # Tmux configuration file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + # GENERAL diff --git a/zsh/env b/zsh/env index 373a849..57a71e3 100644 --- a/zsh/env +++ b/zsh/env @@ -1,5 +1,20 @@ # Zsh configuration file for environment related options. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + . ~/.shell/functions diff --git a/zsh/logout b/zsh/logout index 3fb9248..a540ec8 100644 --- a/zsh/logout +++ b/zsh/logout @@ -1,5 +1,20 @@ # Zsh logout file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + source_config ~/.shell/logout diff --git a/zsh/rc b/zsh/rc index 85139dc..fbf9aea 100644 --- a/zsh/rc +++ b/zsh/rc @@ -1,5 +1,20 @@ # Zsh configuration file. +# Copyright (C) 2011-2012 Simon Ruderich +# +# This file 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 file 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 file. If not, see . + source_debug ". ~/.zsh/rc" -- 2.45.2