aboutsummaryrefslogtreecommitdiffstats
path: root/dotfiles/bash
diff options
context:
space:
mode:
authorshu <nvcsadjkojf@outlook.com>2026-10-27 15:35:47 +0800
committershu <nvcsadjkojf@outlook.com>2026-10-27 15:35:47 +0800
commit44d1af8b4e51d7c0fe9d9ecbb2f20d64cb34f095 (patch)
tree1ea732b5016001660113c3a0782c0ecb82f23689 /dotfiles/bash
parentafa43622a2b0d6322f5ade9fc8231e5540a96736 (diff)
按照需求梳理脚本功能
Diffstat (limited to 'dotfiles/bash')
-rw-r--r--dotfiles/bash/.bashrc5
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