I just thought this tutorial could genuinely be useful to some fellow ricers.

It explains not only the git status part of making a pure zsh prompt that looks like this:

  • bloopernova@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 months ago

    p10k doesn’t require omz. You can install it by itself, the instructions are right there on the Github repo.

    On a new computer, I: git clone my dotfiles repo. Run the install script which symlinks all the relevant files, clones any needed repos like asdf, fzf, p10k, sources the .zshenv and .zshrc, runs asdf installs for my required tools, installs homebrew if on macOS, runs brew bundle to install everything else.

    Homebrew takes the longest. The rest is done in a few seconds.

      • bloopernova@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Yes, nix is fantastic and I need to figure out the setup vs my current one. On a new system, would it be more straightforward to clone my repo, and then use nix, or just keep what I have? More of a rhetorical question there, I need to compare nix and homebrew based methods again (last time was like 2 years ago)

        There’s also the issue of nix darwin creating a partition, which the enterprise security department didn’t like me to do last time. Which is ridiculous, I agree! Plus homebrew is “approved” while nix is an unknown to our enterprise IT. They often block stuff in the name of security, I’d hate for nix to get halfway through setup and break.