Setup config file for readline.

This commit is contained in:
Alex Manning 2024-07-09 10:52:38 +01:00
parent cea953167a
commit 7e38b9359f
Signed by: alex
GPG key ID: 1E325A228EB28358
3 changed files with 6 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1 @@
set editing-mode vi

View file

@ -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