From 44d1af8b4e51d7c0fe9d9ecbb2f20d64cb34f095 Mon Sep 17 00:00:00 2001 From: shu Date: Tue, 27 Oct 2026 15:35:47 +0800 Subject: 按照需求梳理脚本功能 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotfiles/bash/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dotfiles/bash') 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 -- cgit v1.2.3