diff options
Diffstat (limited to 'src/commands/change_directory.rs')
-rw-r--r-- | src/commands/change_directory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/change_directory.rs b/src/commands/change_directory.rs index 1094111..e1c1167 100644 --- a/src/commands/change_directory.rs +++ b/src/commands/change_directory.rs @@ -13,7 +13,7 @@ pub fn cd(path: &path::Path, context: &mut JoshutoContext) -> std::io::Result<() pub fn change_directories(path: &path::Path, context: &mut JoshutoContext) -> std::io::Result<()> { cd(path, context)?; - let sort_options = context.config_t.sort_option.clone(); + let sort_options = context.config_ref().sort_option.clone(); context .tab_context_mut() .curr_tab_mut() |