Commit c28e0af8 authored by Кукуруза Андрій's avatar Кукуруза Андрій 🌽
Browse files

add some bash tips

parent c100da91
......@@ -38,6 +38,26 @@ Dark variant - select Communitheme-Dark in tweek
## Tips
### Bash
- search in bash history by up and down arrow
- cycle completions by tab
create `.inputrc` in home dir (`cd ~`) with
# mappings to have up and down arrow searching through history:
"\e[A": history-search-backward
"\e[B": history-search-forward
# mappings to have left and right arrow go left and right:
"\e[C": forward-char
"\e[D": backward-char
# mapping to have [Tab] and [Shift]+[Tab] to cycle through all the possible completions:
"\t": menu-complete
"\e[Z": menu-complete-backward
### Git addition
If prompty (repo status in command prompt) not work:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment