summaryrefslogtreecommitdiff
path: root/bin/src-register-all
blob: 3ea8cc2876db5c0f93d2b8cd21e2411ce8f85b2f (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/perl5";

use Local::Homedir;

exit src_register_all();