dotfiles

My dotfiles. (by thanatos)

Dotfiles Alternatives

Similar projects and alternatives to dotfiles based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dotfiles alternative or higher similarity.

dotfiles reviews and mentions

Posts with mentions or reviews of dotfiles. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-01.
  • Useful Shell Prompt (2020)
    6 projects | news.ycombinator.com | 1 Apr 2022
    https://github.com/thanatos/dotfiles/blob/master/shell/zsh/p...

    I've tried to highlight roughly the relevant bits.

    The basics of it is that we lazy-load an associative array between exit statuses that are signals and their prettified names. (Which we more or less build by querying Python, to get at what's, essentially, defined in signal.h.)

    Once we have that assoc. array, when we get a non-zero exit, we see if it's in the array. If it is, look up the pretty name, print message. If not, just print message with raw exit status. Red & bold so it shows up. (Should probably also use bright red, too. But my work laptop is macOS, & so it's iTerm2, and iTerm2 interprets "bold" to mean "bright & bold".)

    I also use zsh, which is able to be considerably more expressive in what it can accomplish in a PS1 than bash can. Note that the syntax,

      ${+VAR}

Stats

Basic dotfiles repo stats
1
0
2.6
about 2 years ago

thanatos/dotfiles is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of dotfiles is Python.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com