Commit Graph

9 Commits (c6ac9109d71e833730149cb723442b17c8458531)

Author SHA1 Message Date
John D Pell 5d5858058e lib/history: new functions `_bash-it-history-auto-*()`
Two new functions `_bash-it-history-auto-save()` and `_bash-it-history-auto-load()`, which append new history to disk and load new history from disk, respectively.

See bash-it/bash-it#1595 for discussion.
2022-02-08 16:59:29 -08:00
John D Pell 8052911861 plugin/history: don't use `export`
...so the plugin is friendly to variables already marked read-only.
2022-02-08 16:59:29 -08:00
cornfeedhobo bdb5289660
Wholesale cleanup of all history plugins
- remove the use of redundant cite
- minor cleanups to history.plugin.bash
- set explicit load orders for history-search and history-substring-search
- add new plugin history-eternal
- replace superfluous trap for managing HISTTIMEFORMAT changes
2021-12-02 09:13:56 -06:00
cornfeedhobo 4044f4123c
add top-history 2021-01-15 11:57:41 -06:00
cornfeedhobo 61f727fb96
refactor all history modifications into discrete plugins 2021-01-15 11:53:28 -06:00
Ahmed Masud ce935801a3 Fixed test of whether or not current session is interactive 2019-07-06 16:53:45 -04:00
Shawn Hensley bf69bbc612 Add history cite. Remove trailing semicolon and space. 2016-05-22 01:00:46 -05:00
Eddie Hurtig 7bbc077990 Check for PTY before attempting to use bind
After running a dist upgrade on one of my Ubuntu 14.04 test workstations I started receiving errors after a graphical login. This should also fix remote ssh login problems as seen in http://superuser.com/questions/892658/remote-ssh-commands-bash-bind-warning-line-editing-not-enabled
2015-06-05 17:56:05 -04:00
Peter Daly-Dickson 61e52883f7 Moved arrow-keys-search-history from lib to available plugins 2014-11-07 13:50:34 +00:00