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.

53 lines
1.3 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
  1. MIAOU-BASH
  2. ===========
  3. MIAOU-BASH is a collection of settings and helpers for leveraging BASH.
  4. Developer-friendly, it may be used as solo package with or without the miaou project.
  5. ## Featuring
  6. * [x] some aliases (l, ll, ltr, ...)
  7. * [x] a smart prompt
  8. * [x] git, lxd, failure aware
  9. * [x] simple vim and micro settings
  10. * [x] Debian and Archlinux support
  11. It's Free Software (AGPLv3), help yourself.
  12. Any feedback would be appreciated. [contact@artcode.re](mailto:contact@artcode.re)
  13. ## install
  14. `curl https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install.sh | sudo bash -s`
  15. ## upgrade
  16. `upgrade-miaou-bash`
  17. ## uninstall
  18. `cd /opt/miaou-bash && sudo ./uninstall.sh`
  19. ## development mode (credentials required)
  20. * git clone git@artcode.re:miaou/miaou-bash.git -C ~/DEV/BASH
  21. * sudo ln -s $HOME/DEV/BASH/miaou-bash /opt/miaou-bash
  22. * sudo /opt/miaou-bash/install.sh --host
  23. ## useful library
  24. * source /opt/miaou-bash/lib/functions.sh
  25. ## bindkeys
  26. ### by default
  27. * CTRL + C => stop program
  28. * CTRL + V => display bindkey
  29. * CTRL + Z => interrupt for background job (fg, bg)
  30. * SHIFT + CTRL + C => copy
  31. * SHIFT + CTRL + V => paste
  32. ### customized
  33. * CTRL LEFT, RIGHT => move between words
  34. * CTRL DELETE, BACKSPACE => delete word
  35. * ALT DELETE, BACKSPACE => delete line from cursor
  36. * CTRL + SHIFT + / => undo