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.4 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
5 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. * REAL_DIR=/opt/miaou-bash
  21. * sudo mkdir -m 755 $REAL_DIR && sudo chown $(id -un) $REAL_DIR
  22. * git clone git@artcode.re:miaou/miaou-bash.git $REAL_DIR
  23. * DEV_DIR=$HOME/DEV/BASH/miaou-bash # change DEST according to your needs!
  24. * ln -s $REAL_DIR $DEV_DIR
  25. * cd $REAL_DIR && sudo ./install.sh
  26. ## useful library
  27. * source /opt/miaou-bash/lib/functions.sh
  28. ## bindkeys
  29. ### by default
  30. * CTRL + C => stop program
  31. * CTRL + V => display bindkey
  32. * CTRL + Z => interrupt for background job (fg, bg)
  33. * SHIFT + CTRL + C => copy
  34. * SHIFT + CTRL + V => paste
  35. ### customized
  36. * CTRL LEFT, RIGHT => move between words
  37. * CTRL DELETE, BACKSPACE => delete word
  38. * ALT DELETE, BACKSPACE => delete line from cursor
  39. * CTRL + SHIFT + / => undo