repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

bootstripper: default to current directory

e0311b7a4822756899a7c3d0861058c1c168bc46

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

+12 / −10 text lines

Diff layout

TODO.md

Modified

+4 / −5 text lines

11# To-Do
3- [ ] expand nugu theme to wezterm and eclipse, and more
4- [ ] rewrite bootstripper and java commmands with zig. how to run them? precompile? zig run?
5- [ ] encrypt box key
6- [ ] get SIM card to work on x230
73- [ ] write svn completions for nushell
84- [ ] interactive zoxide jump function with skim
5- [ ] encrypt box key
6- [ ] get SIM card to work on x230
7- [ ] rewrite bootstripper and java commmands with zig. how to run them? precompile? zig run?
8- [ ] expand nugu theme to wezterm and eclipse, and more
99- [x] port nushell config to new config script

bootstripper.java

Modified

+8 / −5 text lines

1import java.nio.file.*;
2import java.io.*;
3
41import static java.text.MessageFormat.format;
3import java.io.IOException;
4import java.io.InputStreamReader;
5import java.nio.file.Files;
6import java.nio.file.LinkOption;
7import java.nio.file.Path;
8
69class bootstripper {
710 public static void main(String[] arguments) throws Throwable {
811 var dorkfile_path_input = ".";
912 if (arguments.length == 1) {
1013 dorkfile_path_input = arguments[0];
11 } else if (arguments.length > 1){
14 } else if (arguments.length > 1) {
1215 usage();
1316 throw fail();
1417 }
7477 * However, most tools (including JDK) have not yet adapted to this change and
7578 * still require admin rights.
7679 * Until that is fixed, we escape to a system tool that is known to behave
77 * correcty in this regard.
80 * correctly in this regard.
7881 */
7982 var operating_system = System.getProperty("os.name");
8083 if (operating_system.toLowerCase().contains("win")) {