Last active
September 11, 2019 14:27
-
-
Save rafaelfoster/8804010 to your computer and use it in GitHub Desktop.
Some bash Trics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable the PageUp and PageDown to search history commands | |
$EDITOR /etc/inputrc | |
"\e[5~": history-search-backward | |
"\e[6~": history-search-forward | |
# Enable the autocomplete using case INsentitive | |
echo 'set show-all-if-ambiguous on' >> ~/.inputrc | |
echo 'set completion-ignore-case on' >> ~/.inputrc | |
# When the skiping word doesn't work on Putty, this can help to add this functionality | |
$edit ~/.bashrc | |
#use ctl keys to move forward and back in words | |
bind '"\eOC":forward-word' | |
bind '"\eOD":backward-word' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment