diff options
author | xyz <gky44px1999@gmail.com> | 2021-04-17 07:41:48 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-04-17 07:41:48 -0700 |
commit | 38d4f4aa8530b5188b3a305ee04919e1683ed79b (patch) | |
tree | 45905c3be0d847ff7bcbd5a18c6742256f6bb2d5 | |
parent | dcb0f89edbebc41393ed8024b8fbcc2aebc73df7 (diff) |
inputrc bash vi mode and zoxide
-rw-r--r-- | .bash_profile | 3 | ||||
-rw-r--r-- | .bashrc | 2 |
2 files changed, 4 insertions, 1 deletions
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 @@ -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)" |