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 5b3cf844f7 tagged as 0.1.5 10 months ago
.vscode terminal true prompt 10 months ago
lib archlinux support 12 months ago
tools upgrade no-progress-meter 10 months ago
.semver_git_tag tagged as 0.1.5 10 months ago
LICENSE second commit 1 year ago
README.md README dev mode 10 months ago
TODO.md git commit_ahead 11 months ago
bash.bashrc GIT_SYMBOL 11 months ago
init.sh fix 12 months ago
inputrc improved readability 1 year ago
install.sh fix 12 months ago
uninstall.sh fix 12 months ago
vimrc second commit 1 year ago

README.md

MIAOU-BASH

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.

Featuring

  • some aliases (l, ll, ltr, ...)
  • a smart prompt
    • git, lxd, failure aware
  • simple vim and micro settings
  • Debian and Archlinux support

It's Free Software (AGPLv3), help yourself. Any feedback would be appreciated. contact@artcode.re

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.sh

bindkeys

by default

  • CTRL + C => stop program

  • CTRL + V => display bindkey

  • CTRL + Z => interrupt for background job (fg, bg)

  • SHIFT + CTRL + C => copy

  • SHIFT + CTRL + V => paste

customized

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