duration-flex 1.0.0

Specify durations in an easier to easy format, like 1h20m.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/fish

cd (git rev-parse --show-toplevel)

set source (pwd)/scripts/hooks

for hook in "$source"/*
	if test -f $hook
		set hook_basename (basename $hook)
		echo "Configuring hook "$hook_basename"."
		ln -sf "$hook" ".git/hooks/$hook_basename"
	end
end