aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-02 15:50:10 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-02 15:59:02 +0200
commit993a6fdf0a8836dfabdc253a3b6e9152cd1f2920 (patch)
treef9a5db267cb4909b1374b6339708ce6980ff75a1 /src/main.rs
parentMerge pull request #239 from zellij-org/x-colors (diff)
downloadsl0ppij-993a6fdf0a8836dfabdc253a3b6e9152cd1f2920.tar.gz
sl0ppij-993a6fdf0a8836dfabdc253a3b6e9152cd1f2920.tar.xz
sl0ppij-993a6fdf0a8836dfabdc253a3b6e9152cd1f2920.zip
Rename install -> setup
* Renaming of the install module to convey the intent more, move functions that install to a submodule install of setup.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e95471fb..ece55fa2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -15,7 +15,7 @@ use crate::utils::{
};
use client::{boundaries, layout, panes, tab};
use common::{
- command_is_executing, errors, install, os_input_output, pty_bus, screen, start, utils, wasm_vm,
+ command_is_executing, errors, os_input_output, pty_bus, screen, setup, start, utils, wasm_vm,
ApiCommand,
};
use std::convert::TryFrom;
@@ -69,7 +69,7 @@ pub fn main() {
let mut out = std::io::stdout();
CliArgs::clap().gen_completions_to("zellij", shell, &mut out);
} else if let Some(crate::cli::ConfigCli::Setup { .. }) = opts.option {
- install::dump_default_config().expect("Failed to print to stdout");
+ setup::dump_default_config().expect("Failed to print to stdout");
std::process::exit(1);
} else {
let os_input = get_os_input();