further configuration of bash

This commit is contained in:
Felix Van der Jeugt 2017-02-09 21:07:45 +01:00
parent 36d8901e5f
commit e3977e2756
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 17 additions and 0 deletions

4
bashrc
View File

@ -25,6 +25,10 @@ unset RED
unset GREEN unset GREEN
unset RESET unset RESET
# Completion
complete -c man
complete -cf sudo
# Color ls # Color ls
alias ls="lr -1FG" alias ls="lr -1FG"

13
inputrc Normal file
View File

@ -0,0 +1,13 @@
$include /etc/inputrc
set show-all-if-ambiguous on
set editing-mode vi
$if mode=vi
set keymap vi-command
"\e[A": history-search-backward
"\e[B": history-search-forward
set keymap vi-insert
"\e[A": history-search-backward
"\e[B": history-search-forward
$endif