From 38d4f4aa8530b5188b3a305ee04919e1683ed79b Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 17 Apr 2021 07:41:48 -0700 Subject: inputrc bash vi mode and zoxide --- .bash_profile | 3 ++- .bashrc | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 34b767f1..1f64b75a 100644 --- a/.bash_profile +++ b/.bash_profile @@ -7,8 +7,9 @@ export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" -export SSH_AUTH_SOCK="XDG_RUNTIME_DIR/ssh-agent.socket" +export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" export MANPAGER='nvim +Man!' +export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc # startx when login, should be put after environmental variables so .xinitrc can use $XDG_CONFIG_HOME if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then diff --git a/.bashrc b/.bashrc index f070a748..954c3a74 100644 --- a/.bashrc +++ b/.bashrc @@ -10,3 +10,5 @@ PS1='[\u@\h \W]\$ ' alias cfgc='/usr/bin/git --git-dir=$HOME/.mycfg_cross_platform/ --work-tree=$HOME' alias cfgl='/usr/bin/git --git-dir=$HOME/.mycfg_local/ --work-tree=$HOME' + +eval "$(zoxide init bash)" -- cgit v1.2.3-70-g09d2