Hacker News new | ask | show | jobs
by JimDabell 362 days ago
I don’t understand why they market this as “minimal”. It’s got loads of features, and every time I see somebody use it they have a huge prompt with loads of bells and whistles.

My shell prompt is:

    : ▶
You don’t need an entire shell prompt customisation framework to be minimal.
4 comments

Compared to other shells and prompts, the configuration is really straightforward and minimal if you want something mildly complex.
Yeah this isn't minimal, this is maximalism - more information, more characters. They should just embrace being a maximalist prompt.
You can make it as small as you want. Every single feature can be disabled. At the moment mine is relatively minimal

    format = """
    $username\
    $hostname\
    $shlvl\
    $directory\
    $git_branch\
    $git_commit\
    $git_state\
    $git_metrics\
    $git_status\
    $package\
    $python\
    $rust\
    $env_var\
    $custom\
    $cmd_duration\
    $jobs\
    $time\
    $status\
    $shell\
    $character"""
Mine is an even thinner arrow.

# clean, simple, minimal

  PROMPT='%{%F{red}%}%~ %{%F{yellow}%}% › %{%F{reset_color}%}%'