Public bug reported:

Binary package hint: bash

https://wiki.ubuntu.com/Spec/EnhancedBash

Add helpful bash shortcuts that will help users better utilize their
system. This will allow the user to see commands they typed, and give a
reasonable history setting. Currently page-up and page-down scroll
through history, but they don't match partially typed commands. There
are other bindings for these, but this is by far the most intuitive
system I have seen.

    * Bind pageup to history-search-backward
    * Bind pagedown to history-search-forward
    * Add shopt -s histappend
    * Add PROMPT_COMMAND='history -a'


What these do:

    * Bind pageup to history-search-backward
          o This will allow page-up to match previously typed commands from 
partial input
    * Bind pagedown to history-search-forward
          o This will allow page-down to match previously typed commands from 
partial input
    * Add shopt -s histappend
          o This will make bash append to the history file instead of overwrite 
it
    * Add PROMPT_COMMAND='history -a'
          o  This will append the previous command to history each time a 
prompt is shown

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Easier history usage
https://launchpad.net/bugs/83857

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to