Remove accidentally commited config file

This commit is contained in:
Jeevitha Kannan K S 2024-11-16 01:28:45 +05:30
parent 78b7c3faa1
commit a0752ae35f
No known key found for this signature in database
GPG Key ID: 5904C34A2F7CE333
3 changed files with 2 additions and 3 deletions

View File

@ -1 +0,0 @@
skip_confirmation = true

View File

@ -22,7 +22,7 @@ pub struct ConfigValues {
}
impl Config {
pub fn new(path: &Path, tabs: &TabList) -> ConfigValues {
pub fn read_config(path: &Path, tabs: &TabList) -> ConfigValues {
let content = match fs::read_to_string(path) {
Ok(content) => content,
Err(e) => {

View File

@ -131,7 +131,7 @@ impl AppState {
state.update_items();
if let Some(config_path) = args.config {
let config = Config::new(&config_path, &state.tabs);
let config = Config::read_config(&config_path, &state.tabs);
state.apply_config(config);
}