MIAOU-BASH is a collection of scripts and configurations designed to enhance your terminal experience. As the name suggests, it is built on Bash and is designed to work on most modern GNU/Linux systems.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB

DEMO

MIAOU-BASH

  • log in trixie1 as pvincent
    • ghostty interference
      • no color => grep, ...
      • delete does not work
    • poor Readline
      • ALT+.. does nothing
      • SHIFT+.. does nothing
    • poor vim
  • SO let's install miaou-bash
    • easy install/version/self-upgrade/uninstall
    • ghostty OK (delete,...)
    • Readline
      • up, down, ...
    • nice prompt
    • aliases (ll, la, ltr, sudo)
  • vim
    • nicer, linenumber
    • ctrl+s, ctrl+q
    • readline compliant
    • azerty

miaou-bash

  • MIAOU-BASH package interaction
    • --help
    • completion
    • script..
  • write basic Bash script
    • return => does not stop
      • set -e
    • unbound variable => no error
      • set -u
  • call miaou-bash on same script
    • no more need for set -eu
    • stacktrace, color, hint, ...
  • shebang
    • #!/usr/bin/miaou-bash
    • #!/usr/bin/env miaou-bash
  • /opt/miaou-bash/test/miaou-bash.test.bash
    • bash /opt/miaou-bash/test/stub/scenario.bash subshell_term
    • bash -eu /opt/miaou-bash/test/stub/scenario.bash exit
    • MIAOU-DEBUG=true ...
  • virtual file descriptor
    • stdout, sterr
      • order change
    • miaou
  • 3 modes: system development hosted (miaou-incus, miaou-proxmox)
    • miaou-incus