Files
dotfiles/bootstrap.pl
2020-07-12 14:11:50 +01:00

24 lines
362 B
Perl
Executable File

#!/usr/bin/env perl
use strict;
use warnings;
use autodie;
use Cwd;
use Stow;
my $dir = getcwd;
my $target = $ENV{'HOME'};
print "Stowing $dir/files to $target\n";
my %stow_options = ( dir => $dir,
target => $target);
my $stow = new Stow(%stow_options);
my @pkgs = ('files');
$stow->plan_stow(@pkgs);
$stow->process_tasks();
print "done\n";