• 0 Posts
  • 45 Comments
Joined 9 months ago
cake
Cake day: February 3rd, 2024

help-circle










  • Do you use bash? If not, which one do you use? zsh, fish? Why do you do it?

    Mostly fish, because it just feels much more modern than bash, it has good built-in autocomplete and I don’t have to install millions of plugins like of zsh.

    Do you write #!/bin/bash or #!/bin/sh? Do you write fish exclusive scripts?

    #!/usr/bin/env bash Occasionally I also write fish scripts. Just replace sh with fish.

    What should’ve people told you what to do/ use?

    zoxide

    general advice?

    As @crispy_kilt@feddit.de already suggested, use shellcheck.

    is it bad practice to create a handful of commands like podup and poddown that replace podman compose up -d and podman compose down or podlog as podman logs -f --tail 20 $1 or podenter for podman exec -it “$1” /bin/sh?

    I don’t think so