From 71135656430fa251109f3bed17f6c404dfde6a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Galisteo?= Date: Fri, 6 Jan 2012 00:22:38 +0100 Subject: [PATCH] added history completion --- completion/available/history.completion.bash | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 completion/available/history.completion.bash diff --git a/completion/available/history.completion.bash b/completion/available/history.completion.bash new file mode 100644 index 00000000..dd571605 --- /dev/null +++ b/completion/available/history.completion.bash @@ -0,0 +1,4 @@ +if [ -n "$PS1" ]; then + bind '"\C-[[A": history-search-backward' + bind '"\C-[[B": history-search-forward' +fi \ No newline at end of file