further configuration of bash
This commit is contained in:
parent
36d8901e5f
commit
e3977e2756
4
bashrc
4
bashrc
@ -25,6 +25,10 @@ unset RED
|
||||
unset GREEN
|
||||
unset RESET
|
||||
|
||||
# Completion
|
||||
complete -c man
|
||||
complete -cf sudo
|
||||
|
||||
# Color ls
|
||||
alias ls="lr -1FG"
|
||||
|
||||
|
13
inputrc
Normal file
13
inputrc
Normal 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
|
Loading…
Reference in New Issue
Block a user