MIAOU-BASH is a collection of settings and helpers for leveraging BASH. Developer-friendly, it may be used as solo package with or without the miaou project.
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.
pvincent 11670f19b8 quick fix 2 days ago
.vscode new tool: fqdn 9 months ago
bin quick fix 2 days ago
doc child_error ok 2 weeks ago
etc vimrc.azerty related to zoneinfo 3 days ago
lib quick fix 2 days ago
test fix return 0 show error_box 3 days ago
tools quick fix 2 days ago
.gitignore gitignore _miaou 2 weeks ago
.semver_git_tag tagged as 0.3.42 2 days ago
LICENSE second commit 3 years ago
README.md distro_like 2 days ago
install.sh boostrap twice 2 days ago

README.md

MIAOU-BASH

MIAOU-BASH is a mix of scripts and settings aiming for leveraging your terminal experience. As the name suggests, it is based on Bash and expect to work on any modern GNU/Linux.

Actually the installation process supports only 2 distros: Debian and Arch Linux. This package works either standalone or as a core dependency of any other miaou-* utilities.

Be aware (uppercase) MIAOU-BASH refer to a bunch of scripts and configuration settings. Meanwhile (downcase) miaou-bash refer to only one of these scripts, maybe the most useful one!

This is free software and licensed as: Affero GPL v3 + Any feedback would be appreciated. contact@artcode.re

Featuring

  • miaou-bash
  • default settings
    • inputrc
    • vimrc
    • bashrc
  • semver-git_tag
  • some aliases (l, ll, ltr, ...)
  • smart prompt
    • git, failure aware

install

curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install.sh | sudo bash && exec bash

upgrade

miaou-bash --self-upgrade

uninstall

miaou-bash --uninstall

development mode (credentials required)

  • REAL_DIR=/opt/miaou-bash
  • sudo mkdir -m 755 $REAL_DIR && sudo chown $(id -un) $REAL_DIR
  • git clone git@artcode.re:miaou/miaou-bash.git $REAL_DIR
  • DEV_DIR=$HOME/DEV/BASH/miaou-bash # change DEST according to your needs!
  • ln -s $REAL_DIR $DEV_DIR
  • cd $REAL_DIR && sudo ./install.sh

useful library

  • source /opt/miaou-bash/lib/functions.bash

extra bindkeys

  • CTRL LEFT, RIGHT => move around words, back and forward
  • CTRL DELETE, BACKSPACE => delete word
  • ALT DELETE, BACKSPACE => delete line from cursor
  • CTRL + SHIFT + / => undo

TODO

  • prompt git shows version with + when there is more than one commit over current version. ie: v0.0.0 + 2 commits more should display v-1.0.0+
  • semver_git_tag should append RELEASE_NOTES.md from this TODO markdown file, providing that NEW NOTE section below contains appropriate items to fulfill the current release note
    • git log <LATEST_TAG>..HEAD --oneline

NEW NOTE