diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-09 22:54:08 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-09 22:54:08 -0700 |
commit | 6f0b00f9831d96dce6ea940ab93696c61bb6f01e (patch) | |
tree | 741365ce4c157a44c258d31a550d9105820f374f /history.h | |
parent | 69ace201f8532d1062f90edf97c6e8fb4620095e (diff) |
Make fish import .bash_history if regular history is not found
Diffstat (limited to 'history.h')
-rw-r--r-- | history.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -146,6 +146,9 @@ public: /** Returns history with the given name, creating it if necessary */ static history_t & history_with_name(const wcstring &name); + /** Determines whether the history is empty. Unfortunately this cannot be const, since it may require populating the history. */ + bool is_empty(void); + /** Add a new history item to the end */ void add(const wcstring &str, const path_list_t &valid_paths = path_list_t()); |