summaryrefslogtreecommitdiff
path: root/bin/src-register-all
blob: 411cace74e78007d181b055e12692b7538c1f690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env perl

# src-register-all -- add new all new git/hg repos in ~/src to ~/.mrconfig
#
# This script must be as portable as possible (inc. its shebang).  We
# do assume that the path separator is a forward slash, rather than
# using catfile(), because .mrconfig assumes that too

use strict;
use warnings;
use lib "$ENV{HOME}/src/dotfiles/lib/perl5";

use Local::Homedir;

exit src_register_all();