code: private static Prompt createPrompt(Resource<?> currentResource)
     {
        // [ currentdir]$
        if (OperatingSystemUtils.isWindows())
        {
           List<TerminalCharacter> prompt = new LinkedList<>();
           prompt.add(new TerminalCharacter('['));
           for (char c : currentResource.getName().toCharArray())
           {
              prompt.add(new TerminalCharacter(c));
           }
           prompt.add(new TerminalCharacter(']'));
           prompt.add(new TerminalCharacter('$'));
           prompt.add(new TerminalCharacter(' '));
           return new Prompt(prompt);
        }
        else
        {
           List<TerminalCharacter> prompt = new LinkedList<>();
           prompt.add(new TerminalCharacter('[', new TerminalColor(Color.BLUE, Color.DEFAULT),
                    CharacterType.BOLD));
           for (char c : currentResource.getName().toCharArray())
           {
              prompt.add(new TerminalCharacter(c));
           }
           prompt.add(new TerminalCharacter(']', new TerminalColor(Color.BLUE, Color.DEFAULT),
                    CharacterType.BOLD));
           prompt.add(new TerminalCharacter('$'));
           prompt.add(new TerminalCharacter(' '));
           return new Prompt(prompt);
        }
     }
docs: Creates an initial prompt