diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-12-15 11:48:20 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-12-15 11:48:20 -0500 |
commit | 12eb9eed1aeb4f3045b78dd19ae20d07bfea7de9 (patch) | |
tree | a2204b1fbef5f1ed93312f94196ded9a5a8c6ec5 /src/commands/delete_files.rs | |
parent | f5902708a6e597064482edfc076248a67882b7c5 (diff) |
add option to not collapse preview
- add methods to access config_t
- add back home dir path shortening option
Diffstat (limited to 'src/commands/delete_files.rs')
-rw-r--r-- | src/commands/delete_files.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/delete_files.rs b/src/commands/delete_files.rs index bc070f1..ed73e18 100644 --- a/src/commands/delete_files.rs +++ b/src/commands/delete_files.rs @@ -77,7 +77,7 @@ pub fn delete_selected_files( ) -> std::io::Result<()> { delete_files(context, backend)?; - let options = context.config_t.sort_option.clone(); + let options = context.config_ref().sort_option.clone(); let curr_path = context.tab_context_ref().curr_tab_ref().pwd().to_path_buf(); for tab in context.tab_context_mut().iter_mut() { tab.history_mut().reload(&curr_path, &options)?; |