Commit 0e2a824f authored by Frank Terbeck's avatar Frank Terbeck

Update Dewifile with newest dewi features

parent 85e34c10
......@@ -4,10 +4,10 @@
#set_opt 'verbose', 'true';
#set_opt 'dryrun', 'true';
register { glob => '{zshenv,zshrc,zlogout,dircolors}',
method => 'symlink',
destination => '~/',
transform => \&makedotfile };
register '--symlink', 'zshrc';
register '--symlink', 'zshenv';
register '--symlink', 'zlogout';
register '--symlink', 'dircolors';
register { glob => 'functions/[_a-zA-Z0-9]*[a-z0-9]',
method => 'symlink',
......@@ -31,9 +31,9 @@ sub zsh_byte_compile {
printf ' ..compiling functions/%s\n' $i
zcompile -R -U $i
done};
chdir($ENV{HOME}) or die "Couldn't chdir($ENV{HOME}): $!\n";
chdir($ENV{HOME}) or early_exit "Couldn't chdir($ENV{HOME}): $!";
system(@cmd);
chdir $old_dir or die "Couldn't chdir($old_dir): $!\n";
chdir $old_dir or early_exit "Couldn't chdir($old_dir): $!";
}
sub zsh_upgrade_setup {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment