mirror of
https://github.com/denisidoro/navi.git
synced 2026-07-28 20:41:02 +00:00
14 lines
377 B
Rust
14 lines
377 B
Rust
use crate::shell::Shell;
|
|
use anyhow::Result;
|
|
|
|
pub fn main(shell: &Shell) -> Result<()> {
|
|
let content = match shell {
|
|
Shell::Bash => include_str!("../../shell/navi.plugin.bash"),
|
|
Shell::Zsh => include_str!("../../shell/navi.plugin.zsh"),
|
|
Shell::Fish => include_str!("../../shell/navi.plugin.fish"),
|
|
};
|
|
|
|
println!("{}", content);
|
|
|
|
Ok(())
|
|
}
|