bash: removed inputrc and moved everything into bashrc

This commit is contained in:
Vitor Gonçalves 2023-12-05 00:47:53 -03:00
parent fbab3f5d2c
commit 1a48045c9a
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
2 changed files with 10 additions and 6 deletions

View File

@ -3,6 +3,16 @@
shopt -s autocd
shopt -s histappend
bind 'set bell-style visible'
bind 'set completion-ignore-case on'
bind 'set show-mode-in-prompt on'
bind 'set expand-tilde on'
# vi mode stuff
set -o vi
bind -m vi-insert "\C-l":clear-screen
bind -m vi-command "\C-l":clear-screen
export XDG_CONFIG_HOME="$HOME/.config" XDG_CACHE_HOME="$HOME/.cache" XDG_DATA_HOME="$HOME/.local/share" XDG_STATE_HOME="$HOME/.local/state"
export EDITOR="nvim" VISUAL="nvim"

View File

@ -1,6 +0,0 @@
$include /etc/inputrc
set bell-style visible
set completion-ignore-case on
set show-mode-in-prompt on
set editing-mode vi
set expand-tilde on