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.

54 lines
1.2 KiB

5 years ago
5 years ago
5 years ago
5 years ago
3 years ago
5 years ago
4 years ago
  1. DEBIAN-BASH
  2. ===========
  3. DEBIAN-BASH is a collection of settings and helpers for BASH provided by *Artcode*. Featuring :
  4. * some aliases (l, ll, ltr, ...)
  5. * a smart prompt
  6. * git, lxd, failure aware
  7. * simple vim settings
  8. It's Free Software (GPLv3), help yourself. Any feedback would be appreciated. [contact@artcode.re](mailto:contact@artcode.re)
  9. install
  10. -------------
  11. `curl https://git.artcode.re/pvincent/debian-bash/raw/branch/master/install.sh | sudo bash -s -- --host`
  12. uninstall
  13. ---------
  14. * `cd /opt/debian-bash && sudo ./uninstall.sh`
  15. development mode (credentials required)
  16. ---------------------------------------
  17. * git clone git@artcode.re:pvincent/debian-bash.git -C ~/DEV/BASH
  18. * sudo ln -s $HOME/DEV/BASH/debian-bash /opt/debian-bash
  19. * sudo /opt/debian-bash/install.sh --host
  20. useful library
  21. --------------
  22. * source /opt/debian-bash/lib/functions.sh
  23. bindkeys
  24. --------
  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