logoalt Hacker News

JimDabellyesterday at 12:15 PM4 repliesview on HN

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.

Replies

slightwinderyesterday at 12:37 PM

Compared to other shells and prompts, the configuration is really straightforward and minimal if you want something mildly complex.

Twirrimyesterday at 6:38 PM

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"""
Cthulhu_yesterday at 12:21 PM

Yeah this isn't minimal, this is maximalism - more information, more characters. They should just embrace being a maximalist prompt.

Brajeshwaryesterday at 12:42 PM

Mine is an even thinner arrow.

# clean, simple, minimal

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