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.

37 lines
974 B

9 months ago
  1. ## completion case-insentivive and ambiguous
  2. set completion-ignore-case on
  3. set show-all-if-ambiguous on
  4. set colored-completion-prefix on
  5. set colored-stats on
  6. set mark-symlinked-directories on
  7. set visible-stats on
  8. set skip-completed-text on
  9. # display characters with the eighth bit set directly
  10. set input-meta on
  11. set output-meta on
  12. set convert-meta off
  13. # if there are 20 or more possible completions for a word,
  14. # ask whether or not the user wants to see all of them
  15. set completion-query-items 20
  16. ## ARROW up, down for history search
  17. "\e[A":history-search-backward
  18. "\e[B":history-search-forward
  19. # CTRL + Right, Left for word suppressing
  20. "\e[1;5C": forward-word
  21. "\e[1;5D": backward-word
  22. # ALT + BACKSPACE for left line suppressing
  23. "\e[3;3~": kill-line
  24. # ALT + DELETE for right line suppressing
  25. "\e\C-?": backward-kill-line
  26. # CTRL + BACKSPACE for left word suppressing
  27. "\C-H": backward-kill-word
  28. # SHIFT + DELETE for whole line suppressing
  29. "\e[3;2~": kill-whole-line