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.

52 lines
1.3 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 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. It's Free Software (AGPLv3), help yourself.
  11. Any feedback would be appreciated. [contact@artcode.re](mailto:contact@artcode.re)
  12. ## install
  13. `curl https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install.sh | sudo bash -s -- --host`
  14. ## upgrade
  15. `upgrade-miaou-bash`
  16. ## uninstall
  17. `cd /opt/miaou-bash && sudo ./uninstall.sh`
  18. ## development mode (credentials required)
  19. * git clone git@artcode.re:miaou/miaou-bash.git -C ~/DEV/BASH
  20. * sudo ln -s $HOME/DEV/BASH/miaou-bash /opt/miaou-bash
  21. * sudo /opt/miaou-bash/install.sh --host
  22. ## useful library
  23. * source /opt/miaou-bash/lib/functions.sh
  24. ## bindkeys
  25. ### by default
  26. * CTRL + C => stop program
  27. * CTRL + V => display bindkey
  28. * CTRL + Z => interrupt for background job (fg, bg)
  29. * SHIFT + CTRL + C => copy
  30. * SHIFT + CTRL + V => paste
  31. ### customized
  32. * CTRL LEFT, RIGHT => move between words
  33. * CTRL DELETE, BACKSPACE => delete word
  34. * ALT DELETE, BACKSPACE => delete line from cursor
  35. * CTRL + SHIFT + / => undo