diff options
Diffstat (limited to 'src/command/client/import.rs')
| -rw-r--r-- | src/command/client/import.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/client/import.rs b/src/command/client/import.rs index f14598f2..7d7c2caf 100644 --- a/src/command/client/import.rs +++ b/src/command/client/import.rs @@ -45,6 +45,11 @@ impl Cmd { match self { Self::Auto => { + if cfg!(windows) { + println!("This feature does not work on windows. Please run atuin import <SHELL>. To view a list of shells, run atuin import."); + return Ok(()); + } + let shell = env::var("SHELL").unwrap_or_else(|_| String::from("NO_SHELL")); if shell.ends_with("/zsh") { if ZshHistDb::histpath().is_ok() { |
