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 841fb354a4 miaou-test eval cmd 1 week ago
.vscode new tool: fqdn 9 months ago
bin test elapsed time 1 week ago
doc child_error ok 2 weeks ago
lib almost fix return 0 2 weeks ago
test miaou-test eval cmd 1 week ago
tools functions.bash 4 months ago
.gitignore gitignore _miaou 2 weeks ago
.semver_git_tag tagged as 0.3.2 1 week ago
LICENSE second commit 3 years ago
README.md test elapsed time 1 week ago
TODO.md git commit_ahead 2 years ago
bash.bashrc fix prompt IFS 4 weeks ago
init.sh better init.sh 4 weeks ago
inputrc improved readability 2 years ago
install.sh fix prompt IFS 4 weeks ago
uninstall.sh fix 2 years ago
vimrc second commit 3 years 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 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
  • semver-git_tag
  • some aliases (l, ll, ltr, ...)
  • smart prompt
    • git, failure aware

install

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

upgrade

upgrade-miaou-bash

uninstall

cd /opt/miaou-bash && sudo ./uninstall.sh

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