* Remove the .exe extension when autocomplete for cygwin commands (to add in .bashrc): shopt -s completion_strip_exe
* By default grep doesn’t use color to emphase matching
We could enable that by adding an alias in ~/.bashrc
such as :
alias grep='grep --color=auto'
* In Git Bash, by default ctrl + right arrow and ctrl + left arrow doesn’t move the cursor to the next block.
To achieve it, add in ~/.inputrc :
"\e[1;5C": forward-word "\e[1;5D": backward-word "\e[5C": forward-word "\e[5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word |
* Modify the color of the directory in the list command:
LS_COLORS=$LS_COLORS:'di=0;35:' ; export LS_COLORS