diff options
Diffstat (limited to 'dotfiles/bash/.bashrc')
| -rw-r--r-- | dotfiles/bash/.bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index 0826f83..c34e43a 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -17,6 +17,11 @@ export RUSTUP_DIST_SERVER=https://mirror.nju.edu.cn/rustup eval "$(fnm env --use-on-cd)" +bind '"\e[A": history-search-backward' +bind '"\e[B": history-search-forward' +bind '"\eOA": history-search-backward' +bind '"\eOB": history-search-forward' + # # pnpm # export PNPM_HOME='/home/shu/.local/share/pnpm' # case ":$PATH:" in |
