I tested this patch on windows.
It works. I used MSys/MinGW environment that comes with windows version of git
By the way: forward-search-history is completely different feature from history-search-forward. They are just different
So why it is good to have this feature enabled by default:
* Ubuntu - Linux for Human Beings, so it is must have friendly default configurations
* Proposed configuration is well tested: Gentoo Linux have this feature enabled for years
* Proposed configuration works even in Windows
* New users may found this keystrokes easy to learn
* Part of bash users are moving to zsh because they don't now how to enable this feature
So. For example you have history:
* ssh host-a
* cd ~/tmp/some
* mkdir test
* cd test
* vim host-a.conf
* ssh host-b
* ls
* cd ~/projects/kde-base
* make
You want to connect by ssh to host-a now
You can:
* Type ssh and press PageUp two times
* Type whole command by hands
* Press up arrow 8 times
* Use reverse search (C-r) supplying 'host-a' as params (It fails when it founds vim host-a.conf)
I tested this patch on windows.
It works. I used MSys/MinGW environment that comes with windows version of git
By the way: forward- search- history is completely different feature from history- search- forward. They are just different
So why it is good to have this feature enabled by default:
* Ubuntu - Linux for Human Beings, so it is must have friendly default configurations
* Proposed configuration is well tested: Gentoo Linux have this feature enabled for years
* Proposed configuration works even in Windows
* New users may found this keystrokes easy to learn
* Part of bash users are moving to zsh because they don't now how to enable this feature
Here is blog post http:// www.electrictoo lbox.com/ pageup- history- auto-completion -bash-shell/ search- backward/ history- search- forward features works
Author of post describes how history-
So. For example you have history:
* ssh host-a
* cd ~/tmp/some
* mkdir test
* cd test
* vim host-a.conf
* ssh host-b
* ls
* cd ~/projects/kde-base
* make
You want to connect by ssh to host-a now
You can:
* Type ssh and press PageUp two times
* Type whole command by hands
* Press up arrow 8 times
* Use reverse search (C-r) supplying 'host-a' as params (It fails when it founds vim host-a.conf)