Setup config file for readline.
This commit is contained in:
parent
cea953167a
commit
7e38b9359f
3 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
#SET PATH IN .BASH_PROFILE
|
#SET PATH IN .BASH_PROFILE
|
||||||
|
# Set the shell's editor to vi mode
|
||||||
|
set -o vi
|
||||||
|
|
||||||
#don't put duplicate lines or lines beginning with a space into history
|
#don't put duplicate lines or lines beginning with a space into history
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
|
|
1
home/.inputrc
Normal file
1
home/.inputrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
set editing-mode vi
|
|
@ -65,3 +65,6 @@ ln -s ${environ_home}/.config/mypy ~/.config/mypy
|
||||||
|
|
||||||
##### In home dir
|
##### In home dir
|
||||||
ln -s ${environ_home}/.fonts ~/.fonts
|
ln -s ${environ_home}/.fonts ~/.fonts
|
||||||
|
|
||||||
|
# readline
|
||||||
|
ln -s ${environ_home}/.inputrc ~/.inputrc
|
||||||
|
|
Loading…
Reference in a new issue