From bfb8dafca0887235828abf1998091aa8b8f50f09 Mon Sep 17 00:00:00 2001 From: katherine Date: Tue, 28 Mar 2017 19:42:23 -0700 Subject: move make-gif to submodule --- .config/init/funcs/make-gif | 203 +-------------------------------------- .config/init/submodules/make-gif | 1 + .gitmodules | 3 + 3 files changed, 5 insertions(+), 202 deletions(-) mode change 100755 => 120000 .config/init/funcs/make-gif create mode 160000 .config/init/submodules/make-gif create mode 100644 .gitmodules diff --git a/.config/init/funcs/make-gif b/.config/init/funcs/make-gif deleted file mode 100755 index 320a4a0..0000000 --- a/.config/init/funcs/make-gif +++ /dev/null @@ -1,202 +0,0 @@ -#!/usr/bin/env zsh -# export a clip from a video as a gif - -local callstr="$0" -local hasgsic=$(whence gifsicle) - -print_error() { - echo -e "\e[1;31merror:\e[0m $1\n" -} - -usage() { - [[ "$1" != "" ]] && print_error $1 - echo "Usage: $callstr [OPTIONS...] " - echo "" - echo " description option default val" - echo " start time -s