mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 22:21:14 -03:00
Move history.rs into its own module
This commit is contained in:
@@ -64,8 +64,6 @@
|
||||
wutil::{FileId, INVALID_FILE_ID, file_id_for_file, wgettext_fmt, wrealpath, wstat, wunlink},
|
||||
};
|
||||
|
||||
mod file;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum SearchType {
|
||||
/// Search for commands exactly matching the given string.
|
||||
@@ -103,7 +101,7 @@ pub enum SearchDirection {
|
||||
Backward,
|
||||
}
|
||||
|
||||
use self::file::time_to_seconds;
|
||||
use super::file::time_to_seconds;
|
||||
|
||||
// Our history format is intended to be valid YAML. Here it is:
|
||||
//
|
||||
3
src/history/mod.rs
Normal file
3
src/history/mod.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
mod file;
|
||||
pub mod history;
|
||||
pub use history::*;
|
||||
Reference in New Issue
Block a user