orbiter 0.9.0

A cross-shell plugin and package manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::shells::SupportedShell;

pub fn load_completion(current_shell: &SupportedShell) {
    let shell_specific_evaluatable = match current_shell {
        SupportedShell::Sh => "",
        SupportedShell::Bash => "",
        SupportedShell::Zsh => "autoload -Uz compinit; compinit",
        SupportedShell::Fish => "",
        SupportedShell::PowerShell => "",
        SupportedShell::WinCmd => "",
    };

    println!("{}", shell_specific_evaluatable);
}