Shell History : Autocomplete based upon bash_history
script karma |
Rating 0/2,
Downloaded by 536 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michael Brown |
|
script type |
utility |
|
description |
If you have previously typed a complicated command into your shell and then want to use it within a shell script this will make it easier to grab
just start typing a fragment of the command and hit control b
Note: .bash_history will normally only be written to when you exit a shell
You may want to tweak your history settings to gain best possible performance
possibly http://wooledge.org/mywiki/BashFAQ#faq77 (realtime updates...although I haven't tried this)
This was just a personal experiment at vim scripting, please send improvements/suggestions.
|
|
install details |
place the vim file in the plugin folder |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.218.70.93
|