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 248193a773 second commit 10 months ago
.vscode second commit 10 months ago
lib second commit 10 months ago
tools second commit 10 months ago
LICENSE second commit 10 months ago
README.md second commit 10 months ago
bash.bashrc second commit 10 months ago
init.sh second commit 10 months ago
inputrc second commit 10 months ago
install.sh second commit 10 months ago
uninstall.sh second commit 10 months ago
vimrc second commit 10 months 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

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 -- --host

uninstall

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

development mode (credentials required)

  • git clone git@artcode.re:miaou/miaou-bash.git -C ~/DEV/BASH
  • sudo ln -s $HOME/DEV/BASH/miaou-bash /opt/miaou-bash
  • sudo /opt/miaou-bash/install.sh --host

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