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.

56 lines
1.3 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 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. -------------
  14. `curl https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install.sh | sudo bash -s -- --host`
  15. uninstall
  16. ---------
  17. * `cd /opt/miaou-bash && sudo ./uninstall.sh`
  18. development mode (credentials required)
  19. ---------------------------------------
  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. --------------
  25. * source /opt/miaou-bash/lib/functions.sh
  26. bindkeys
  27. --------
  28. ### by default
  29. * CTRL + C => stop program
  30. * CTRL + V => display bindkey
  31. * CTRL + Z => interrupt for background job (fg, bg)
  32. * SHIFT + CTRL + C => copy
  33. * SHIFT + CTRL + V => paste
  34. ### customized
  35. * CTRL LEFT, RIGHT => move between words
  36. * CTRL DELETE, BACKSPACE => delete word
  37. * ALT DELETE, BACKSPACE => delete line from cursor
  38. * CTRL + SHIFT + / => undo