Browse Source

Install vim dependencies in background

master
Noah Petherbridge 5 years ago
parent
commit
a11d570ae9
  1. 7
      home/bin/dfm

7
home/bin/dfm

@ -104,13 +104,18 @@ sub main {
if ($command eq "setup") {
setup();
system("dfm vim >/dev/null 2>&1 &");
if (fork() == 0) {
system("dfm vim >/dev/null 2>&1");
print "[`dfm vim` finished]\n";
}
} elsif ($command eq "vim") {
vim();
} elsif ($command eq "check-update") {
checkUpdate();
} elsif ($command eq "update") {
update();
} else {
die "Invalid command. See `dfm --help`.\n";
}
return;

Loading…
Cancel
Save