diff --git a/corebox/commands/bootstrap/mod.rs b/corebox/commands/bootstrap/mod.rs index 2901191..9380c87 100644 --- a/corebox/commands/bootstrap/mod.rs +++ b/corebox/commands/bootstrap/mod.rs @@ -162,7 +162,7 @@ impl Cmd for Bootstrap { fs::create_dir_all(&outpath)?; println!(" mkdir: {}", outpath.display()); } - outpath.push(&shitbox::progname().unwrap()); + outpath.push(env!("CARGO_PKG_NAME")); fs::copy(&progpath, &outpath)?; println!( " install: {} -> {}", @@ -175,15 +175,15 @@ impl Cmd for Bootstrap { links(prefix, usr, matches)?; } Some(("manpages", _matches)) => { - manpages(prefix, usr)?; + manpages(prefix)?; } Some(("completions", matches)) => { - completions(prefix, matches, usr)?; + completions(prefix, matches)?; } Some(("all", matches)) => { links(prefix, usr, matches)?; - manpages(prefix, usr)?; - completions(prefix, matches, usr)?; + manpages(prefix)?; + completions(prefix, matches)?; } _ => {} } @@ -201,7 +201,7 @@ pub trait BootstrapCmd { fn completion(&self, outdir: &Path, gen: &str) -> Result<(), io::Error>; fn linkpath(&self, prefix: &str, usr: bool) -> Option; fn link(&self, prefix: &str, usr: bool, soft: bool) -> Result<(), Box>; - fn manpage(&self, prefix: &str, usr: bool) -> Result<(), io::Error>; + fn manpage(&self, prefix: &str) -> Result<(), io::Error>; } impl BootstrapCmd for dyn Cmd { @@ -237,33 +237,31 @@ impl BootstrapCmd for dyn Cmd { fn link(&self, prefix: &str, usr: bool, soft: bool) -> Result<(), Box> { if let Some(linkpath) = self.linkpath(prefix, usr) { - let progname = shitbox::progname().unwrap(); if soft { let binpath = match self.path().unwrap() { - shitbox::Path::Bin => progname, - shitbox::Path::Sbin => format!("../bin/{progname}"), + shitbox::Path::Bin => "shitbox", + shitbox::Path::Sbin => "../bin/shitbox", shitbox::Path::UsrBin => { if usr { - format!("../../bin/{progname}") + "../../bin/shitbox" } else { - progname + "shitbox" } } shitbox::Path::UsrSbin => { if usr { - format!("../../bin/{progname}") + "../../bin/shitbox" } else { - format!("../bin/{progname}") + "../bin/shitbox" } } }; - symlink(&binpath, &linkpath)?; + symlink(binpath, &linkpath)?; println!(" symlink: {binpath} -> {}", linkpath.display()); } else { let mut binpath = PathBuf::from(prefix); binpath.push("bin"); binpath.push(env!("CARGO_PKG_NAME")); - println!("Generating link for {}", self.cli().get_name()); fs::hard_link(&binpath, &linkpath)?; println!(" link: {} -> {}", binpath.display(), linkpath.display()); } @@ -271,17 +269,13 @@ impl BootstrapCmd for dyn Cmd { Ok(()) } - fn manpage(&self, prefix: &str, usr: bool) -> Result<(), io::Error> { + fn manpage(&self, prefix: &str) -> Result<(), io::Error> { let command = self.cli(); let fname = match command.get_name() { - "bootstrap" => format!("{}-bootstrap.1", shitbox::progname().unwrap()), + "bootstrap" => "shitbox-bootstrap.1".to_string(), s => format!("{s}.1"), }; - let outdir: PathBuf = if usr { - [prefix, "usr", "share", "man", "man1"].iter().collect() - } else { - [prefix, "share", "man", "man1"].iter().collect() - }; + let outdir: PathBuf = [prefix, "usr", "share", "man", "man1"].iter().collect(); if !outdir.exists() { fs::create_dir_all(&outdir)?; } @@ -296,61 +290,48 @@ impl BootstrapCmd for dyn Cmd { } } -fn manpages(prefix: &str, usr: bool) -> Result<(), io::Error> { +fn manpages(prefix: &str) -> Result<(), io::Error> { println!("Generating Unix man pages:"); COMMANDS .iter() - .try_for_each(|cmd| super::get(cmd).unwrap().manpage(prefix, usr))?; + .try_for_each(|cmd| super::get(cmd).unwrap().manpage(prefix))?; Ok(()) } -fn completions(prefix: &str, matches: &ArgMatches, usr: bool) -> Result<(), io::Error> { +fn completions(prefix: &str, matches: &ArgMatches) -> Result<(), io::Error> { println!("Generating completions:"); - let basedir: PathBuf = if usr { - [prefix, "usr", "share"].iter().collect() - } else { - [prefix, "share"].iter().collect() - }; if matches.get_flag("bash") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("bash-completion"); - outdir.push("completion"); + let outdir: PathBuf = [prefix, "share", "bash-completion", "completion"] + .iter() + .collect(); COMMANDS.iter().try_for_each(|cmd| { let cmd = super::get(cmd).unwrap(); cmd.completion(&outdir, "bash") })?; } if matches.get_flag("fish") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("fish"); - outdir.push("completions"); + let outdir: PathBuf = [prefix, "share", "fish", "completions"].iter().collect(); COMMANDS.iter().try_for_each(|cmd| { let cmd = super::get(cmd).unwrap(); cmd.completion(&outdir, "fish") })?; } if matches.get_flag("nu") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("nu"); - outdir.push("completions"); + let outdir: PathBuf = [prefix, "share", "nu", "completions"].iter().collect(); COMMANDS.iter().try_for_each(|cmd| { let cmd = super::get(cmd).unwrap(); cmd.completion(&outdir, "nu") })?; } if matches.get_flag("pwsh") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("pwsh"); - outdir.push("completions"); + let outdir: PathBuf = [prefix, "share", "pwsh", "completions"].iter().collect(); COMMANDS.iter().try_for_each(|cmd| { let cmd = super::get(cmd).unwrap(); cmd.completion(&outdir, "pwsh") })?; } if matches.get_flag("zsh") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("zsh"); - outdir.push("site-functions"); + let outdir: PathBuf = [prefix, "share", "zsh", "site-functions"].iter().collect(); COMMANDS.iter().try_for_each(|cmd| { let cmd = super::get(cmd).unwrap(); cmd.completion(&outdir, "zsh") diff --git a/hashbox/commands/bootstrap/mod.rs b/hashbox/commands/bootstrap/mod.rs deleted file mode 100644 index 2901191..0000000 --- a/hashbox/commands/bootstrap/mod.rs +++ /dev/null @@ -1,397 +0,0 @@ -use super::{Cmd, COMMANDS}; -use clap::{Arg, ArgAction, ArgMatches, Command}; -use clap_complete::{generate_to, shells}; -use clap_complete_nushell::Nushell; -use clap_mangen::Man; -use std::{ - error::Error, - fs, io, - os::unix::fs::symlink, - path::{Path, PathBuf}, -}; - -#[derive(Debug, Default)] -pub struct Bootstrap; - -impl Bootstrap { - fn all() -> clap::Command { - Command::new("all").about("Install everything").args([ - Arg::new("soft") - .help("Install soft links instead of hardlinks") - .short('s') - .long("soft") - .action(ArgAction::SetTrue), - Arg::new("all") - .help("Install completions for all supported shells") - .short('a') - .long("all") - .conflicts_with_all(["bash", "fish", "nu", "pwsh", "zsh"]) - .action(ArgAction::SetTrue), - Arg::new("bash") - .help("Bash shell completions") - .short('b') - .long("bash") - .action(ArgAction::SetTrue), - Arg::new("fish") - .help("Fish shell completions") - .short('f') - .long("fish") - .action(ArgAction::SetTrue), - Arg::new("nu") - .help("Nushell completions") - .short('n') - .long("nu") - .action(ArgAction::SetTrue), - Arg::new("pwsh") - .help("PowerShell completions") - .short('p') - .long("pwsh") - .action(ArgAction::SetTrue), - Arg::new("zsh") - .help("Zshell completions") - .short('z') - .long("zsh") - .action(ArgAction::SetTrue), - ]) - } - - fn links() -> clap::Command { - Command::new("links") - .about("Install links for each applet") - .arg( - Arg::new("soft") - .help("Install soft links instead of hardlinks") - .short('s') - .long("soft") - .action(ArgAction::SetTrue), - ) - } - - fn manpages() -> clap::Command { - Command::new("manpages") - .about("Install Unix man pages") - .alias("man") - } - - fn completions() -> clap::Command { - Command::new("completions") - .about("Install shell completions") - .alias("comp") - .args([ - Arg::new("all") - .help("Install completions for all supported shells") - .short('a') - .long("all") - .exclusive(true) - .action(ArgAction::SetTrue), - Arg::new("bash") - .help("Bash shell completions") - .short('b') - .long("bash") - .action(ArgAction::SetTrue), - Arg::new("fish") - .help("Fish shell completions") - .short('f') - .long("fish") - .action(ArgAction::SetTrue), - Arg::new("nu") - .help("Nushell completions") - .short('n') - .long("nu") - .action(ArgAction::SetTrue), - Arg::new("pwsh") - .help("PowerShell completions") - .short('p') - .long("pwsh") - .action(ArgAction::SetTrue), - Arg::new("zsh") - .help("Zshell completions") - .short('z') - .long("zsh") - .action(ArgAction::SetTrue), - ]) - } -} - -impl Cmd for Bootstrap { - fn cli(&self) -> clap::Command { - Command::new("bootstrap") - .version(env!("CARGO_PKG_VERSION")) - .author("Nathan Fisher") - .about("Install shitbox into the filesystem") - .long_about("Install symlinks, manpages and shell completions") - .args([ - Arg::new("prefix") - .help("The directory path under which to install") - .short('p') - .long("prefix") - .num_args(1) - .default_value("/") - .required(false), - Arg::new("usr") - .help("Use /usr") - .long_help( - "Split the installation so that some applets go into /bin | /sbin\n\ - while others are placed into /usr/bin | /usr/sbin", - ) - .short('u') - .long("usr") - .action(ArgAction::SetTrue), - Arg::new("soft") - .help("Install soft links instead of hardlinks") - .short('s') - .long("soft") - .action(ArgAction::SetTrue), - ]) - .subcommands([ - Self::all(), - Self::links(), - Self::manpages(), - Self::completions(), - ]) - } - - fn run(&self, matches: &ArgMatches) -> Result<(), Box> { - if let Some(prefix) = matches.get_one::("prefix") { - let usr = matches.get_flag("usr"); - if let Some(progpath) = shitbox::progpath() { - let mut outpath = PathBuf::from(prefix); - outpath.push("bin"); - println!("Installing binary:"); - if !outpath.exists() { - fs::create_dir_all(&outpath)?; - println!(" mkdir: {}", outpath.display()); - } - outpath.push(&shitbox::progname().unwrap()); - fs::copy(&progpath, &outpath)?; - println!( - " install: {} -> {}", - progpath.display(), - outpath.display() - ); - } - match matches.subcommand() { - Some(("links", matches)) => { - links(prefix, usr, matches)?; - } - Some(("manpages", _matches)) => { - manpages(prefix, usr)?; - } - Some(("completions", matches)) => { - completions(prefix, matches, usr)?; - } - Some(("all", matches)) => { - links(prefix, usr, matches)?; - manpages(prefix, usr)?; - completions(prefix, matches, usr)?; - } - _ => {} - } - } - Ok(()) - } - - fn path(&self) -> Option { - None - } -} - -#[allow(clippy::module_name_repetitions)] -pub trait BootstrapCmd { - fn completion(&self, outdir: &Path, gen: &str) -> Result<(), io::Error>; - fn linkpath(&self, prefix: &str, usr: bool) -> Option; - fn link(&self, prefix: &str, usr: bool, soft: bool) -> Result<(), Box>; - fn manpage(&self, prefix: &str, usr: bool) -> Result<(), io::Error>; -} - -impl BootstrapCmd for dyn Cmd { - fn completion(&self, outdir: &Path, gen: &str) -> Result<(), io::Error> { - let cmd = self.cli(); - let name = cmd.get_name(); - let mut cmd = self.cli(); - if !outdir.exists() { - fs::create_dir_all(outdir)?; - } - let path = match gen { - "bash" => generate_to(shells::Bash, &mut cmd, name, outdir)?, - "fish" => generate_to(shells::Fish, &mut cmd, name, outdir)?, - "nu" => generate_to(Nushell, &mut cmd, name, outdir)?, - "pwsh" => generate_to(shells::PowerShell, &mut cmd, name, outdir)?, - "zsh" => generate_to(shells::Zsh, &mut cmd, name, outdir)?, - _ => unimplemented!(), - }; - println!(" {}", path.display()); - Ok(()) - } - - fn linkpath(&self, prefix: &str, usr: bool) -> Option { - let mut path = PathBuf::from(prefix); - let binpath = self.path(); - match binpath { - Some(p) => path.push(p.to_str(usr)), - None => return None, - } - path.push(self.cli().get_name()); - Some(path) - } - - fn link(&self, prefix: &str, usr: bool, soft: bool) -> Result<(), Box> { - if let Some(linkpath) = self.linkpath(prefix, usr) { - let progname = shitbox::progname().unwrap(); - if soft { - let binpath = match self.path().unwrap() { - shitbox::Path::Bin => progname, - shitbox::Path::Sbin => format!("../bin/{progname}"), - shitbox::Path::UsrBin => { - if usr { - format!("../../bin/{progname}") - } else { - progname - } - } - shitbox::Path::UsrSbin => { - if usr { - format!("../../bin/{progname}") - } else { - format!("../bin/{progname}") - } - } - }; - symlink(&binpath, &linkpath)?; - println!(" symlink: {binpath} -> {}", linkpath.display()); - } else { - let mut binpath = PathBuf::from(prefix); - binpath.push("bin"); - binpath.push(env!("CARGO_PKG_NAME")); - println!("Generating link for {}", self.cli().get_name()); - fs::hard_link(&binpath, &linkpath)?; - println!(" link: {} -> {}", binpath.display(), linkpath.display()); - } - } - Ok(()) - } - - fn manpage(&self, prefix: &str, usr: bool) -> Result<(), io::Error> { - let command = self.cli(); - let fname = match command.get_name() { - "bootstrap" => format!("{}-bootstrap.1", shitbox::progname().unwrap()), - s => format!("{s}.1"), - }; - let outdir: PathBuf = if usr { - [prefix, "usr", "share", "man", "man1"].iter().collect() - } else { - [prefix, "share", "man", "man1"].iter().collect() - }; - if !outdir.exists() { - fs::create_dir_all(&outdir)?; - } - let mut outfile = outdir; - outfile.push(fname); - let man = Man::new(command); - let mut buffer: Vec = vec![]; - man.render(&mut buffer)?; - fs::write(&outfile, buffer)?; - println!(" {}", outfile.display()); - Ok(()) - } -} - -fn manpages(prefix: &str, usr: bool) -> Result<(), io::Error> { - println!("Generating Unix man pages:"); - COMMANDS - .iter() - .try_for_each(|cmd| super::get(cmd).unwrap().manpage(prefix, usr))?; - Ok(()) -} - -fn completions(prefix: &str, matches: &ArgMatches, usr: bool) -> Result<(), io::Error> { - println!("Generating completions:"); - let basedir: PathBuf = if usr { - [prefix, "usr", "share"].iter().collect() - } else { - [prefix, "share"].iter().collect() - }; - if matches.get_flag("bash") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("bash-completion"); - outdir.push("completion"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "bash") - })?; - } - if matches.get_flag("fish") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("fish"); - outdir.push("completions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "fish") - })?; - } - if matches.get_flag("nu") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("nu"); - outdir.push("completions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "nu") - })?; - } - if matches.get_flag("pwsh") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("pwsh"); - outdir.push("completions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "pwsh") - })?; - } - if matches.get_flag("zsh") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("zsh"); - outdir.push("site-functions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "zsh") - })?; - } - Ok(()) -} - -fn links(prefix: &str, usr: bool, cmd: &ArgMatches) -> Result<(), Box> { - println!("Generating links:"); - let mut binpath = PathBuf::from(prefix); - binpath.push("bin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - binpath.pop(); - binpath.push("sbin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - if usr { - binpath.pop(); - binpath.push("usr"); - binpath.push("bin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - binpath.pop(); - binpath.push("sbin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - } - let soft = cmd.get_flag("soft"); - COMMANDS.iter().try_for_each(|c| { - let cmd = super::get(c).unwrap(); - cmd.link(prefix, usr, soft) - })?; - Ok(()) -} diff --git a/hashbox/commands/mod.rs b/hashbox/commands/mod.rs index 9e1cb15..056e88e 100644 --- a/hashbox/commands/mod.rs +++ b/hashbox/commands/mod.rs @@ -1,7 +1,6 @@ use shitbox::Cmd; mod b2sum; -mod bootstrap; mod hashbox; mod md5sum; mod sha1sum; @@ -16,7 +15,6 @@ mod sha512sum; pub fn get(name: &str) -> Option> { match name { "b2sum" => Some(Box::new(b2sum::B2sum::default())), - "bootstrap" => Some(Box::new(bootstrap::Bootstrap::default())), "hashbox" => Some(Box::new(hashbox::Hashbox::default())), "md5sum" => Some(Box::new(md5sum::Md5sum::default())), "sha1sum" => Some(Box::new(sha1sum::Sha1sum::default())), @@ -28,9 +26,8 @@ pub fn get(name: &str) -> Option> { } } -pub static COMMANDS: [&str; 8] = [ +pub static COMMANDS: [&str; 7] = [ "b2sum", - "bootstrap", "md5sum", "sha1sum", "sha224sum", diff --git a/pkg/bin/chgrp b/pkg/bin/chgrp deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/chgrp +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/chmod b/pkg/bin/chmod deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/chmod +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/chown b/pkg/bin/chown deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/chown +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/corebox b/pkg/bin/corebox deleted file mode 100755 index 5336d1b..0000000 Binary files a/pkg/bin/corebox and /dev/null differ diff --git a/pkg/bin/echo b/pkg/bin/echo deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/echo +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/false b/pkg/bin/false deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/false +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/hashbox b/pkg/bin/hashbox deleted file mode 100755 index 35df39e..0000000 Binary files a/pkg/bin/hashbox and /dev/null differ diff --git a/pkg/bin/head b/pkg/bin/head deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/head +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/hostname b/pkg/bin/hostname deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/hostname +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/ln b/pkg/bin/ln deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/ln +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/mountpoint b/pkg/bin/mountpoint deleted file mode 120000 index ba119e1..0000000 --- a/pkg/bin/mountpoint +++ /dev/null @@ -1 +0,0 @@ -utilbox \ No newline at end of file diff --git a/pkg/bin/realpath b/pkg/bin/realpath deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/realpath +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/rm b/pkg/bin/rm deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/rm +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/rmdir b/pkg/bin/rmdir deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/rmdir +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/sleep b/pkg/bin/sleep deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/sleep +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/sync b/pkg/bin/sync deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/sync +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/true b/pkg/bin/true deleted file mode 120000 index 7d532ae..0000000 --- a/pkg/bin/true +++ /dev/null @@ -1 +0,0 @@ -corebox \ No newline at end of file diff --git a/pkg/bin/umount b/pkg/bin/umount deleted file mode 120000 index ba119e1..0000000 --- a/pkg/bin/umount +++ /dev/null @@ -1 +0,0 @@ -utilbox \ No newline at end of file diff --git a/pkg/bin/utilbox b/pkg/bin/utilbox deleted file mode 100755 index dd5602e..0000000 Binary files a/pkg/bin/utilbox and /dev/null differ diff --git a/pkg/sbin/mknod b/pkg/sbin/mknod deleted file mode 120000 index d0a0b59..0000000 --- a/pkg/sbin/mknod +++ /dev/null @@ -1 +0,0 @@ -../bin/corebox \ No newline at end of file diff --git a/pkg/sbin/nologin b/pkg/sbin/nologin deleted file mode 120000 index d0a0b59..0000000 --- a/pkg/sbin/nologin +++ /dev/null @@ -1 +0,0 @@ -../bin/corebox \ No newline at end of file diff --git a/pkg/sbin/swapoff b/pkg/sbin/swapoff deleted file mode 120000 index dd901ea..0000000 --- a/pkg/sbin/swapoff +++ /dev/null @@ -1 +0,0 @@ -../bin/utilbox \ No newline at end of file diff --git a/pkg/usr/bin/b2sum b/pkg/usr/bin/b2sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/b2sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/base32 b/pkg/usr/bin/base32 deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/base32 +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/base64 b/pkg/usr/bin/base64 deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/base64 +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/basename b/pkg/usr/bin/basename deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/basename +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/clear b/pkg/usr/bin/clear deleted file mode 120000 index 92ee0ec..0000000 --- a/pkg/usr/bin/clear +++ /dev/null @@ -1 +0,0 @@ -../../bin/utilbox \ No newline at end of file diff --git a/pkg/usr/bin/cut b/pkg/usr/bin/cut deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/cut +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/dirname b/pkg/usr/bin/dirname deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/dirname +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/factor b/pkg/usr/bin/factor deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/factor +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/fold b/pkg/usr/bin/fold deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/fold +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/groups b/pkg/usr/bin/groups deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/groups +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/hostid b/pkg/usr/bin/hostid deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/hostid +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/link b/pkg/usr/bin/link deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/link +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/logname b/pkg/usr/bin/logname deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/logname +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/md5sum b/pkg/usr/bin/md5sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/md5sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/mkfifo b/pkg/usr/bin/mkfifo deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/mkfifo +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/mktemp b/pkg/usr/bin/mktemp deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/mktemp +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/nproc b/pkg/usr/bin/nproc deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/nproc +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/printenv b/pkg/usr/bin/printenv deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/printenv +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/pwd b/pkg/usr/bin/pwd deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/pwd +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/readlink b/pkg/usr/bin/readlink deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/readlink +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/rev b/pkg/usr/bin/rev deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/rev +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/sha1sum b/pkg/usr/bin/sha1sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/sha1sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/sha224sum b/pkg/usr/bin/sha224sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/sha224sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/sha256sum b/pkg/usr/bin/sha256sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/sha256sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/sha384sum b/pkg/usr/bin/sha384sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/sha384sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/sha512sum b/pkg/usr/bin/sha512sum deleted file mode 120000 index e46fd0c..0000000 --- a/pkg/usr/bin/sha512sum +++ /dev/null @@ -1 +0,0 @@ -../../bin/hashbox \ No newline at end of file diff --git a/pkg/usr/bin/unlink b/pkg/usr/bin/unlink deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/unlink +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/wc b/pkg/usr/bin/wc deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/wc +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/which b/pkg/usr/bin/which deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/which +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/whoami b/pkg/usr/bin/whoami deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/whoami +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/bin/yes b/pkg/usr/bin/yes deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/bin/yes +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/sbin/chroot b/pkg/usr/sbin/chroot deleted file mode 120000 index 8d08c17..0000000 --- a/pkg/usr/sbin/chroot +++ /dev/null @@ -1 +0,0 @@ -../../bin/corebox \ No newline at end of file diff --git a/pkg/usr/sbin/swaplabel b/pkg/usr/sbin/swaplabel deleted file mode 120000 index 92ee0ec..0000000 --- a/pkg/usr/sbin/swaplabel +++ /dev/null @@ -1 +0,0 @@ -../../bin/utilbox \ No newline at end of file diff --git a/pkg/usr/share/bash-completion/completion/b2sum.bash b/pkg/usr/share/bash-completion/completion/b2sum.bash deleted file mode 100644 index e88dd0a..0000000 --- a/pkg/usr/share/bash-completion/completion/b2sum.bash +++ /dev/null @@ -1,46 +0,0 @@ -_b2sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="b2sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - b2sum) - opts="-c -l -h -V --check --length --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --length) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -l) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _b2sum -o bashdefault -o default b2sum diff --git a/pkg/usr/share/bash-completion/completion/base32.bash b/pkg/usr/share/bash-completion/completion/base32.bash deleted file mode 100644 index 9b855af..0000000 --- a/pkg/usr/share/bash-completion/completion/base32.bash +++ /dev/null @@ -1,54 +0,0 @@ -_base32() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="base32" - ;; - *) - ;; - esac - done - - case "${cmd}" in - base32) - opts="-d -i -w -c -v -q -h --decode --ignore-space --wrap --color --verbose --quiet --help [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --wrap) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -w) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _base32 -o bashdefault -o default base32 diff --git a/pkg/usr/share/bash-completion/completion/base64.bash b/pkg/usr/share/bash-completion/completion/base64.bash deleted file mode 100644 index 16b4231..0000000 --- a/pkg/usr/share/bash-completion/completion/base64.bash +++ /dev/null @@ -1,54 +0,0 @@ -_base64() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="base64" - ;; - *) - ;; - esac - done - - case "${cmd}" in - base64) - opts="-d -i -w -c -v -q -h --decode --ignore-space --wrap --color --verbose --quiet --help [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --wrap) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -w) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _base64 -o bashdefault -o default base64 diff --git a/pkg/usr/share/bash-completion/completion/basename.bash b/pkg/usr/share/bash-completion/completion/basename.bash deleted file mode 100644 index 9ff369b..0000000 --- a/pkg/usr/share/bash-completion/completion/basename.bash +++ /dev/null @@ -1,38 +0,0 @@ -_basename() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="basename" - ;; - *) - ;; - esac - done - - case "${cmd}" in - basename) - opts="-h --help [SUFFIX]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _basename -o bashdefault -o default basename diff --git a/pkg/usr/share/bash-completion/completion/bootstrap.bash b/pkg/usr/share/bash-completion/completion/bootstrap.bash deleted file mode 100644 index f61cd8f..0000000 --- a/pkg/usr/share/bash-completion/completion/bootstrap.bash +++ /dev/null @@ -1,216 +0,0 @@ -_bootstrap() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="bootstrap" - ;; - bootstrap,all) - cmd="bootstrap__all" - ;; - bootstrap,completions) - cmd="bootstrap__completions" - ;; - bootstrap,help) - cmd="bootstrap__help" - ;; - bootstrap,links) - cmd="bootstrap__links" - ;; - bootstrap,manpages) - cmd="bootstrap__manpages" - ;; - bootstrap__help,all) - cmd="bootstrap__help__all" - ;; - bootstrap__help,completions) - cmd="bootstrap__help__completions" - ;; - bootstrap__help,help) - cmd="bootstrap__help__help" - ;; - bootstrap__help,links) - cmd="bootstrap__help__links" - ;; - bootstrap__help,manpages) - cmd="bootstrap__help__manpages" - ;; - *) - ;; - esac - done - - case "${cmd}" in - bootstrap) - opts="-p -u -s -h -V --prefix --usr --soft --help --version all links manpages completions help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --prefix) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -p) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__all) - opts="-s -a -b -f -n -p -z -h --soft --all --bash --fish --nu --pwsh --zsh --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__completions) - opts="-a -b -f -n -p -z -h --all --bash --fish --nu --pwsh --zsh --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__help) - opts="all links manpages completions help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__help__all) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__help__completions) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__help__help) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__help__links) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__help__manpages) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__links) - opts="-s -h --soft --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - bootstrap__manpages) - opts="-h --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _bootstrap -o bashdefault -o default bootstrap diff --git a/pkg/usr/share/bash-completion/completion/chgrp.bash b/pkg/usr/share/bash-completion/completion/chgrp.bash deleted file mode 100644 index 329e629..0000000 --- a/pkg/usr/share/bash-completion/completion/chgrp.bash +++ /dev/null @@ -1,38 +0,0 @@ -_chgrp() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="chgrp" - ;; - *) - ;; - esac - done - - case "${cmd}" in - chgrp) - opts="-c -v -R -H -L -P -s -h -V --changes --verbose --recursive --same-filesystem --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _chgrp -o bashdefault -o default chgrp diff --git a/pkg/usr/share/bash-completion/completion/chmod.bash b/pkg/usr/share/bash-completion/completion/chmod.bash deleted file mode 100644 index ad51a53..0000000 --- a/pkg/usr/share/bash-completion/completion/chmod.bash +++ /dev/null @@ -1,38 +0,0 @@ -_chmod() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="chmod" - ;; - *) - ;; - esac - done - - case "${cmd}" in - chmod) - opts="-v -c -f -R -h -V --verbose --changes --quiet --silent --recursive --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _chmod -o bashdefault -o default chmod diff --git a/pkg/usr/share/bash-completion/completion/chown.bash b/pkg/usr/share/bash-completion/completion/chown.bash deleted file mode 100644 index 030cd31..0000000 --- a/pkg/usr/share/bash-completion/completion/chown.bash +++ /dev/null @@ -1,38 +0,0 @@ -_chown() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="chown" - ;; - *) - ;; - esac - done - - case "${cmd}" in - chown) - opts="-c -v -R -H -L -P -s -h -V --changes --verbose --recursive --same-filesystem --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _chown -o bashdefault -o default chown diff --git a/pkg/usr/share/bash-completion/completion/chroot.bash b/pkg/usr/share/bash-completion/completion/chroot.bash deleted file mode 100644 index a1ceca5..0000000 --- a/pkg/usr/share/bash-completion/completion/chroot.bash +++ /dev/null @@ -1,46 +0,0 @@ -_chroot() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="chroot" - ;; - *) - ;; - esac - done - - case "${cmd}" in - chroot) - opts="-d -h -V --directory --help --version [COMMAND] [ARG]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --directory) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -d) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _chroot -o bashdefault -o default chroot diff --git a/pkg/usr/share/bash-completion/completion/clear.bash b/pkg/usr/share/bash-completion/completion/clear.bash deleted file mode 100644 index 0706745..0000000 --- a/pkg/usr/share/bash-completion/completion/clear.bash +++ /dev/null @@ -1,38 +0,0 @@ -_clear() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="clear" - ;; - *) - ;; - esac - done - - case "${cmd}" in - clear) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _clear -o bashdefault -o default clear diff --git a/pkg/usr/share/bash-completion/completion/corebox.bash b/pkg/usr/share/bash-completion/completion/corebox.bash deleted file mode 100644 index 4d5e6ec..0000000 --- a/pkg/usr/share/bash-completion/completion/corebox.bash +++ /dev/null @@ -1,1864 +0,0 @@ -_corebox() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="corebox" - ;; - corebox,base32) - cmd="corebox__base32" - ;; - corebox,base64) - cmd="corebox__base64" - ;; - corebox,basename) - cmd="corebox__basename" - ;; - corebox,bootstrap) - cmd="corebox__bootstrap" - ;; - corebox,chgrp) - cmd="corebox__chgrp" - ;; - corebox,chmod) - cmd="corebox__chmod" - ;; - corebox,chown) - cmd="corebox__chown" - ;; - corebox,chroot) - cmd="corebox__chroot" - ;; - corebox,cut) - cmd="corebox__cut" - ;; - corebox,dirname) - cmd="corebox__dirname" - ;; - corebox,echo) - cmd="corebox__echo" - ;; - corebox,factor) - cmd="corebox__factor" - ;; - corebox,false) - cmd="corebox__false" - ;; - corebox,fold) - cmd="corebox__fold" - ;; - corebox,groups) - cmd="corebox__groups" - ;; - corebox,head) - cmd="corebox__head" - ;; - corebox,help) - cmd="corebox__help" - ;; - corebox,hostid) - cmd="corebox__hostid" - ;; - corebox,hostname) - cmd="corebox__hostname" - ;; - corebox,link) - cmd="corebox__link" - ;; - corebox,ln) - cmd="corebox__ln" - ;; - corebox,logname) - cmd="corebox__logname" - ;; - corebox,mkfifo) - cmd="corebox__mkfifo" - ;; - corebox,mknod) - cmd="corebox__mknod" - ;; - corebox,mktemp) - cmd="corebox__mktemp" - ;; - corebox,nologin) - cmd="corebox__nologin" - ;; - corebox,nproc) - cmd="corebox__nproc" - ;; - corebox,printenv) - cmd="corebox__printenv" - ;; - corebox,pwd) - cmd="corebox__pwd" - ;; - corebox,readlink) - cmd="corebox__readlink" - ;; - corebox,realpath) - cmd="corebox__realpath" - ;; - corebox,rev) - cmd="corebox__rev" - ;; - corebox,rm) - cmd="corebox__rm" - ;; - corebox,rmdir) - cmd="corebox__rmdir" - ;; - corebox,sleep) - cmd="corebox__sleep" - ;; - corebox,sync) - cmd="corebox__sync" - ;; - corebox,true) - cmd="corebox__true" - ;; - corebox,unlink) - cmd="corebox__unlink" - ;; - corebox,wc) - cmd="corebox__wc" - ;; - corebox,which) - cmd="corebox__which" - ;; - corebox,whoami) - cmd="corebox__whoami" - ;; - corebox,yes) - cmd="corebox__yes" - ;; - corebox__bootstrap,all) - cmd="corebox__bootstrap__all" - ;; - corebox__bootstrap,completions) - cmd="corebox__bootstrap__completions" - ;; - corebox__bootstrap,help) - cmd="corebox__bootstrap__help" - ;; - corebox__bootstrap,links) - cmd="corebox__bootstrap__links" - ;; - corebox__bootstrap,manpages) - cmd="corebox__bootstrap__manpages" - ;; - corebox__bootstrap__help,all) - cmd="corebox__bootstrap__help__all" - ;; - corebox__bootstrap__help,completions) - cmd="corebox__bootstrap__help__completions" - ;; - corebox__bootstrap__help,help) - cmd="corebox__bootstrap__help__help" - ;; - corebox__bootstrap__help,links) - cmd="corebox__bootstrap__help__links" - ;; - corebox__bootstrap__help,manpages) - cmd="corebox__bootstrap__help__manpages" - ;; - corebox__help,base32) - cmd="corebox__help__base32" - ;; - corebox__help,base64) - cmd="corebox__help__base64" - ;; - corebox__help,basename) - cmd="corebox__help__basename" - ;; - corebox__help,bootstrap) - cmd="corebox__help__bootstrap" - ;; - corebox__help,chgrp) - cmd="corebox__help__chgrp" - ;; - corebox__help,chmod) - cmd="corebox__help__chmod" - ;; - corebox__help,chown) - cmd="corebox__help__chown" - ;; - corebox__help,chroot) - cmd="corebox__help__chroot" - ;; - corebox__help,cut) - cmd="corebox__help__cut" - ;; - corebox__help,dirname) - cmd="corebox__help__dirname" - ;; - corebox__help,echo) - cmd="corebox__help__echo" - ;; - corebox__help,factor) - cmd="corebox__help__factor" - ;; - corebox__help,false) - cmd="corebox__help__false" - ;; - corebox__help,fold) - cmd="corebox__help__fold" - ;; - corebox__help,groups) - cmd="corebox__help__groups" - ;; - corebox__help,head) - cmd="corebox__help__head" - ;; - corebox__help,help) - cmd="corebox__help__help" - ;; - corebox__help,hostid) - cmd="corebox__help__hostid" - ;; - corebox__help,hostname) - cmd="corebox__help__hostname" - ;; - corebox__help,link) - cmd="corebox__help__link" - ;; - corebox__help,ln) - cmd="corebox__help__ln" - ;; - corebox__help,logname) - cmd="corebox__help__logname" - ;; - corebox__help,mkfifo) - cmd="corebox__help__mkfifo" - ;; - corebox__help,mknod) - cmd="corebox__help__mknod" - ;; - corebox__help,mktemp) - cmd="corebox__help__mktemp" - ;; - corebox__help,nologin) - cmd="corebox__help__nologin" - ;; - corebox__help,nproc) - cmd="corebox__help__nproc" - ;; - corebox__help,printenv) - cmd="corebox__help__printenv" - ;; - corebox__help,pwd) - cmd="corebox__help__pwd" - ;; - corebox__help,readlink) - cmd="corebox__help__readlink" - ;; - corebox__help,realpath) - cmd="corebox__help__realpath" - ;; - corebox__help,rev) - cmd="corebox__help__rev" - ;; - corebox__help,rm) - cmd="corebox__help__rm" - ;; - corebox__help,rmdir) - cmd="corebox__help__rmdir" - ;; - corebox__help,sleep) - cmd="corebox__help__sleep" - ;; - corebox__help,sync) - cmd="corebox__help__sync" - ;; - corebox__help,true) - cmd="corebox__help__true" - ;; - corebox__help,unlink) - cmd="corebox__help__unlink" - ;; - corebox__help,wc) - cmd="corebox__help__wc" - ;; - corebox__help,which) - cmd="corebox__help__which" - ;; - corebox__help,whoami) - cmd="corebox__help__whoami" - ;; - corebox__help,yes) - cmd="corebox__help__yes" - ;; - corebox__help__bootstrap,all) - cmd="corebox__help__bootstrap__all" - ;; - corebox__help__bootstrap,completions) - cmd="corebox__help__bootstrap__completions" - ;; - corebox__help__bootstrap,links) - cmd="corebox__help__bootstrap__links" - ;; - corebox__help__bootstrap,manpages) - cmd="corebox__help__bootstrap__manpages" - ;; - *) - ;; - esac - done - - case "${cmd}" in - corebox) - opts="-h -V --help --version base32 base64 basename bootstrap chgrp chmod chown chroot cut dirname echo false factor fold groups head hostid hostname link ln logname mkfifo mknod mktemp nologin nproc printenv pwd readlink realpath rev rm rmdir sleep sync true unlink wc which whoami yes help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__base32) - opts="-d -i -w -c -v -q -h -V --decode --ignore-space --wrap --color --verbose --quiet --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --wrap) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -w) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__base64) - opts="-d -i -w -c -v -q -h -V --decode --ignore-space --wrap --color --verbose --quiet --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --wrap) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -w) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__basename) - opts="-h -V --help --version [SUFFIX]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap) - opts="-p -u -s -h -V --prefix --usr --soft --help --version all links manpages completions help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --prefix) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -p) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__all) - opts="-s -a -b -f -n -p -z -h -V --soft --all --bash --fish --nu --pwsh --zsh --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__completions) - opts="-a -b -f -n -p -z -h -V --all --bash --fish --nu --pwsh --zsh --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__help) - opts="all links manpages completions help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__help__all) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__help__completions) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__help__help) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__help__links) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__help__manpages) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__links) - opts="-s -h -V --soft --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__bootstrap__manpages) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__chgrp) - opts="-c -v -R -H -L -P -s -h -V --changes --verbose --recursive --same-filesystem --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__chmod) - opts="-v -c -f -R -h -V --verbose --changes --quiet --silent --recursive --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__chown) - opts="-c -v -R -H -L -P -s -h -V --changes --verbose --recursive --same-filesystem --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__chroot) - opts="-d -h -V --directory --help --version [COMMAND] [ARG]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --directory) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -d) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__cut) - opts="-b -c -f -d -n -s -h -V --bytes --characters --fields --delimiter --only-delimited --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --bytes) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -b) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --characters) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --fields) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -f) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --delimiter) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -d) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -n) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__dirname) - opts="-z -h -V --zero --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__echo) - opts="-n -h -V --help --version [STRING]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - -n) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__factor) - opts="-h -V --help --version [number]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__false) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__fold) - opts="-b -s -o -w -h -V --bytes --spaces --optimal --width --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --width) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -w) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__groups) - opts="-h -V --help --version [user]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__head) - opts="-c -q -v -n -C -1 -h -V --bytes --quiet --verbose --lines --color --help --version [FILES]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --lines) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -n) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -C) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -1) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help) - opts="base32 base64 basename bootstrap chgrp chmod chown chroot cut dirname echo false factor fold groups head hostid hostname link ln logname mkfifo mknod mktemp nologin nproc printenv pwd readlink realpath rev rm rmdir sleep sync true unlink wc which whoami yes help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__base32) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__base64) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__basename) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__bootstrap) - opts="all links manpages completions" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__bootstrap__all) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__bootstrap__completions) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__bootstrap__links) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__bootstrap__manpages) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__chgrp) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__chmod) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__chown) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__chroot) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__cut) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__dirname) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__echo) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__factor) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__false) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__fold) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__groups) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__head) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__help) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__hostid) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__hostname) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__link) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__ln) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__logname) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__mkfifo) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__mknod) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__mktemp) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__nologin) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__nproc) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__printenv) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__pwd) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__readlink) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__realpath) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__rev) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__rm) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__rmdir) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__sleep) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__sync) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__true) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__unlink) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__wc) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__which) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__whoami) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__help__yes) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__hostid) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__hostname) - opts="-s -h -V --strip --help --version [NAME]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__link) - opts="-v -h -V --verbose --help --version " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__ln) - opts="-f -s -v -L -P -h -V --force --symbolic --verbose --help --version ... " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__logname) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__mkfifo) - opts="-m -v -h -V --mode --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --mode) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -m) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__mknod) - opts="-m -v -h -V --mode --verbose --help --version b c p [MAJOR] [MINOR]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --mode) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -m) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__mktemp) - opts="-d -p -t -u -h -V --directory --tmpdir --template --dryrun --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --tmpdir) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -p) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --template) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -t) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__nologin) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__nproc) - opts="-a -h -V --all --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__printenv) - opts="-0 -h -V --null --help --version [VARIABLE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__pwd) - opts="-L -P -h -V --logical --physical --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__readlink) - opts="-c -f -n -h -V --canonicalize --no-newline --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__realpath) - opts="-q -h -V --quiet --help --version [path]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__rev) - opts="-v -c -h -V --verbose --color --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__rm) - opts="-i -I -f -R -v -h -V --interactive --force --recursive --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --interactive) - COMPREPLY=($(compgen -W "never once always" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__rmdir) - opts="-p -v -h -V --parents --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__sleep) - opts="-h -V --help --version " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__sync) - opts="-d -f -h -V --data --file-system --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__true) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__unlink) - opts="-v -h -V --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__wc) - opts="-c -m -l -L -w -h -V --bytes --chars --lines --max-line-length --words --help --version [INPUT]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__which) - opts="-h -V --help --version [COMMAND]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__whoami) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - corebox__yes) - opts="-h -V --help --version [msg]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _corebox -o bashdefault -o default corebox diff --git a/pkg/usr/share/bash-completion/completion/cut.bash b/pkg/usr/share/bash-completion/completion/cut.bash deleted file mode 100644 index 995ec35..0000000 --- a/pkg/usr/share/bash-completion/completion/cut.bash +++ /dev/null @@ -1,74 +0,0 @@ -_cut() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="cut" - ;; - *) - ;; - esac - done - - case "${cmd}" in - cut) - opts="-b -c -f -d -n -s -h -V --bytes --characters --fields --delimiter --only-delimited --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --bytes) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -b) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --characters) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --fields) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -f) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --delimiter) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -d) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -n) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _cut -o bashdefault -o default cut diff --git a/pkg/usr/share/bash-completion/completion/dirname.bash b/pkg/usr/share/bash-completion/completion/dirname.bash deleted file mode 100644 index 0d50e87..0000000 --- a/pkg/usr/share/bash-completion/completion/dirname.bash +++ /dev/null @@ -1,38 +0,0 @@ -_dirname() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="dirname" - ;; - *) - ;; - esac - done - - case "${cmd}" in - dirname) - opts="-z -h --zero --help ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _dirname -o bashdefault -o default dirname diff --git a/pkg/usr/share/bash-completion/completion/echo.bash b/pkg/usr/share/bash-completion/completion/echo.bash deleted file mode 100644 index fc43e59..0000000 --- a/pkg/usr/share/bash-completion/completion/echo.bash +++ /dev/null @@ -1,42 +0,0 @@ -_echo() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="echo" - ;; - *) - ;; - esac - done - - case "${cmd}" in - echo) - opts="-n -h --help [STRING]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - -n) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _echo -o bashdefault -o default echo diff --git a/pkg/usr/share/bash-completion/completion/factor.bash b/pkg/usr/share/bash-completion/completion/factor.bash deleted file mode 100644 index 84c2f2e..0000000 --- a/pkg/usr/share/bash-completion/completion/factor.bash +++ /dev/null @@ -1,38 +0,0 @@ -_factor() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="factor" - ;; - *) - ;; - esac - done - - case "${cmd}" in - factor) - opts="-h --help [number]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _factor -o bashdefault -o default factor diff --git a/pkg/usr/share/bash-completion/completion/false.bash b/pkg/usr/share/bash-completion/completion/false.bash deleted file mode 100644 index cc30cd6..0000000 --- a/pkg/usr/share/bash-completion/completion/false.bash +++ /dev/null @@ -1,38 +0,0 @@ -_false() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="false" - ;; - *) - ;; - esac - done - - case "${cmd}" in - false) - opts="-h --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _false -o bashdefault -o default false diff --git a/pkg/usr/share/bash-completion/completion/fold.bash b/pkg/usr/share/bash-completion/completion/fold.bash deleted file mode 100644 index 7483b7a..0000000 --- a/pkg/usr/share/bash-completion/completion/fold.bash +++ /dev/null @@ -1,46 +0,0 @@ -_fold() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="fold" - ;; - *) - ;; - esac - done - - case "${cmd}" in - fold) - opts="-b -s -o -w -h --bytes --spaces --optimal --width --help [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --width) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -w) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _fold -o bashdefault -o default fold diff --git a/pkg/usr/share/bash-completion/completion/groups.bash b/pkg/usr/share/bash-completion/completion/groups.bash deleted file mode 100644 index 3180603..0000000 --- a/pkg/usr/share/bash-completion/completion/groups.bash +++ /dev/null @@ -1,38 +0,0 @@ -_groups() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="groups" - ;; - *) - ;; - esac - done - - case "${cmd}" in - groups) - opts="-h -V --help --version [user]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _groups -o bashdefault -o default groups diff --git a/pkg/usr/share/bash-completion/completion/head.bash b/pkg/usr/share/bash-completion/completion/head.bash deleted file mode 100644 index c39b13b..0000000 --- a/pkg/usr/share/bash-completion/completion/head.bash +++ /dev/null @@ -1,58 +0,0 @@ -_head() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="head" - ;; - *) - ;; - esac - done - - case "${cmd}" in - head) - opts="-c -q -v -n -C -1 -h --bytes --quiet --verbose --lines --color --help [FILES]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --lines) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -n) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -C) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -1) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _head -o bashdefault -o default head diff --git a/pkg/usr/share/bash-completion/completion/hostid.bash b/pkg/usr/share/bash-completion/completion/hostid.bash deleted file mode 100644 index 218442f..0000000 --- a/pkg/usr/share/bash-completion/completion/hostid.bash +++ /dev/null @@ -1,38 +0,0 @@ -_hostid() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="hostid" - ;; - *) - ;; - esac - done - - case "${cmd}" in - hostid) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _hostid -o bashdefault -o default hostid diff --git a/pkg/usr/share/bash-completion/completion/hostname.bash b/pkg/usr/share/bash-completion/completion/hostname.bash deleted file mode 100644 index 6c22049..0000000 --- a/pkg/usr/share/bash-completion/completion/hostname.bash +++ /dev/null @@ -1,38 +0,0 @@ -_hostname() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="hostname" - ;; - *) - ;; - esac - done - - case "${cmd}" in - hostname) - opts="-s -h --strip --help [NAME]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _hostname -o bashdefault -o default hostname diff --git a/pkg/usr/share/bash-completion/completion/link.bash b/pkg/usr/share/bash-completion/completion/link.bash deleted file mode 100644 index 53a5144..0000000 --- a/pkg/usr/share/bash-completion/completion/link.bash +++ /dev/null @@ -1,38 +0,0 @@ -_link() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="link" - ;; - *) - ;; - esac - done - - case "${cmd}" in - link) - opts="-v -h -V --verbose --help --version " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _link -o bashdefault -o default link diff --git a/pkg/usr/share/bash-completion/completion/ln.bash b/pkg/usr/share/bash-completion/completion/ln.bash deleted file mode 100644 index 5f8452a..0000000 --- a/pkg/usr/share/bash-completion/completion/ln.bash +++ /dev/null @@ -1,38 +0,0 @@ -_ln() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="ln" - ;; - *) - ;; - esac - done - - case "${cmd}" in - ln) - opts="-f -s -v -L -P -h -V --force --symbolic --verbose --help --version ... " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _ln -o bashdefault -o default ln diff --git a/pkg/usr/share/bash-completion/completion/logname.bash b/pkg/usr/share/bash-completion/completion/logname.bash deleted file mode 100644 index 8762d06..0000000 --- a/pkg/usr/share/bash-completion/completion/logname.bash +++ /dev/null @@ -1,38 +0,0 @@ -_logname() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="logname" - ;; - *) - ;; - esac - done - - case "${cmd}" in - logname) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _logname -o bashdefault -o default logname diff --git a/pkg/usr/share/bash-completion/completion/md5sum.bash b/pkg/usr/share/bash-completion/completion/md5sum.bash deleted file mode 100644 index 56e8884..0000000 --- a/pkg/usr/share/bash-completion/completion/md5sum.bash +++ /dev/null @@ -1,38 +0,0 @@ -_md5sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="md5sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - md5sum) - opts="-c -h -V --check --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _md5sum -o bashdefault -o default md5sum diff --git a/pkg/usr/share/bash-completion/completion/mkfifo.bash b/pkg/usr/share/bash-completion/completion/mkfifo.bash deleted file mode 100644 index 8fa449a..0000000 --- a/pkg/usr/share/bash-completion/completion/mkfifo.bash +++ /dev/null @@ -1,46 +0,0 @@ -_mkfifo() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="mkfifo" - ;; - *) - ;; - esac - done - - case "${cmd}" in - mkfifo) - opts="-m -v -h -V --mode --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --mode) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -m) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _mkfifo -o bashdefault -o default mkfifo diff --git a/pkg/usr/share/bash-completion/completion/mknod.bash b/pkg/usr/share/bash-completion/completion/mknod.bash deleted file mode 100644 index 5358b03..0000000 --- a/pkg/usr/share/bash-completion/completion/mknod.bash +++ /dev/null @@ -1,46 +0,0 @@ -_mknod() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="mknod" - ;; - *) - ;; - esac - done - - case "${cmd}" in - mknod) - opts="-m -v -h -V --mode --verbose --help --version b c p [MAJOR] [MINOR]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --mode) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -m) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _mknod -o bashdefault -o default mknod diff --git a/pkg/usr/share/bash-completion/completion/mktemp.bash b/pkg/usr/share/bash-completion/completion/mktemp.bash deleted file mode 100644 index 7649aa5..0000000 --- a/pkg/usr/share/bash-completion/completion/mktemp.bash +++ /dev/null @@ -1,54 +0,0 @@ -_mktemp() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="mktemp" - ;; - *) - ;; - esac - done - - case "${cmd}" in - mktemp) - opts="-d -p -t -u -h -V --directory --tmpdir --template --dryrun --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --tmpdir) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -p) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - --template) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -t) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _mktemp -o bashdefault -o default mktemp diff --git a/pkg/usr/share/bash-completion/completion/mountpoint.bash b/pkg/usr/share/bash-completion/completion/mountpoint.bash deleted file mode 100644 index c56a764..0000000 --- a/pkg/usr/share/bash-completion/completion/mountpoint.bash +++ /dev/null @@ -1,38 +0,0 @@ -_mountpoint() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="mountpoint" - ;; - *) - ;; - esac - done - - case "${cmd}" in - mountpoint) - opts="-d -x -q -h --fs-devno --devno --quiet --help " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _mountpoint -o bashdefault -o default mountpoint diff --git a/pkg/usr/share/bash-completion/completion/nologin.bash b/pkg/usr/share/bash-completion/completion/nologin.bash deleted file mode 100644 index 61a78f4..0000000 --- a/pkg/usr/share/bash-completion/completion/nologin.bash +++ /dev/null @@ -1,38 +0,0 @@ -_nologin() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="nologin" - ;; - *) - ;; - esac - done - - case "${cmd}" in - nologin) - opts="-h --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _nologin -o bashdefault -o default nologin diff --git a/pkg/usr/share/bash-completion/completion/nproc.bash b/pkg/usr/share/bash-completion/completion/nproc.bash deleted file mode 100644 index a44a32a..0000000 --- a/pkg/usr/share/bash-completion/completion/nproc.bash +++ /dev/null @@ -1,38 +0,0 @@ -_nproc() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="nproc" - ;; - *) - ;; - esac - done - - case "${cmd}" in - nproc) - opts="-a -h --all --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _nproc -o bashdefault -o default nproc diff --git a/pkg/usr/share/bash-completion/completion/printenv.bash b/pkg/usr/share/bash-completion/completion/printenv.bash deleted file mode 100644 index a113674..0000000 --- a/pkg/usr/share/bash-completion/completion/printenv.bash +++ /dev/null @@ -1,38 +0,0 @@ -_printenv() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="printenv" - ;; - *) - ;; - esac - done - - case "${cmd}" in - printenv) - opts="-0 -h -V --null --help --version [VARIABLE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _printenv -o bashdefault -o default printenv diff --git a/pkg/usr/share/bash-completion/completion/pwd.bash b/pkg/usr/share/bash-completion/completion/pwd.bash deleted file mode 100644 index 3b8e12b..0000000 --- a/pkg/usr/share/bash-completion/completion/pwd.bash +++ /dev/null @@ -1,38 +0,0 @@ -_pwd() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="pwd" - ;; - *) - ;; - esac - done - - case "${cmd}" in - pwd) - opts="-L -P -h -V --logical --physical --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _pwd -o bashdefault -o default pwd diff --git a/pkg/usr/share/bash-completion/completion/readlink.bash b/pkg/usr/share/bash-completion/completion/readlink.bash deleted file mode 100644 index c5912f7..0000000 --- a/pkg/usr/share/bash-completion/completion/readlink.bash +++ /dev/null @@ -1,38 +0,0 @@ -_readlink() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="readlink" - ;; - *) - ;; - esac - done - - case "${cmd}" in - readlink) - opts="-c -f -n -h -V --canonicalize --no-newline --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _readlink -o bashdefault -o default readlink diff --git a/pkg/usr/share/bash-completion/completion/realpath.bash b/pkg/usr/share/bash-completion/completion/realpath.bash deleted file mode 100644 index 584b762..0000000 --- a/pkg/usr/share/bash-completion/completion/realpath.bash +++ /dev/null @@ -1,38 +0,0 @@ -_realpath() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="realpath" - ;; - *) - ;; - esac - done - - case "${cmd}" in - realpath) - opts="-q -h -V --quiet --help --version [path]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _realpath -o bashdefault -o default realpath diff --git a/pkg/usr/share/bash-completion/completion/rev.bash b/pkg/usr/share/bash-completion/completion/rev.bash deleted file mode 100644 index d43e815..0000000 --- a/pkg/usr/share/bash-completion/completion/rev.bash +++ /dev/null @@ -1,46 +0,0 @@ -_rev() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="rev" - ;; - *) - ;; - esac - done - - case "${cmd}" in - rev) - opts="-v -c -h --verbose --color --help [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --color) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - -c) - COMPREPLY=($(compgen -W "always ansi auto never" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _rev -o bashdefault -o default rev diff --git a/pkg/usr/share/bash-completion/completion/rm.bash b/pkg/usr/share/bash-completion/completion/rm.bash deleted file mode 100644 index 2871407..0000000 --- a/pkg/usr/share/bash-completion/completion/rm.bash +++ /dev/null @@ -1,42 +0,0 @@ -_rm() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="rm" - ;; - *) - ;; - esac - done - - case "${cmd}" in - rm) - opts="-i -I -f -R -v -h -V --interactive --force --recursive --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --interactive) - COMPREPLY=($(compgen -W "never once always" -- "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _rm -o bashdefault -o default rm diff --git a/pkg/usr/share/bash-completion/completion/rmdir.bash b/pkg/usr/share/bash-completion/completion/rmdir.bash deleted file mode 100644 index 4e549d7..0000000 --- a/pkg/usr/share/bash-completion/completion/rmdir.bash +++ /dev/null @@ -1,38 +0,0 @@ -_rmdir() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="rmdir" - ;; - *) - ;; - esac - done - - case "${cmd}" in - rmdir) - opts="-p -v -h -V --parents --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _rmdir -o bashdefault -o default rmdir diff --git a/pkg/usr/share/bash-completion/completion/sha1sum.bash b/pkg/usr/share/bash-completion/completion/sha1sum.bash deleted file mode 100644 index 0c0ec6e..0000000 --- a/pkg/usr/share/bash-completion/completion/sha1sum.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sha1sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sha1sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sha1sum) - opts="-c -h -V --check --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sha1sum -o bashdefault -o default sha1sum diff --git a/pkg/usr/share/bash-completion/completion/sha224sum.bash b/pkg/usr/share/bash-completion/completion/sha224sum.bash deleted file mode 100644 index aeddbf3..0000000 --- a/pkg/usr/share/bash-completion/completion/sha224sum.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sha224sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sha224sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sha224sum) - opts="-c -h -V --check --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sha224sum -o bashdefault -o default sha224sum diff --git a/pkg/usr/share/bash-completion/completion/sha256sum.bash b/pkg/usr/share/bash-completion/completion/sha256sum.bash deleted file mode 100644 index 17f7ae1..0000000 --- a/pkg/usr/share/bash-completion/completion/sha256sum.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sha256sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sha256sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sha256sum) - opts="-c -h -V --check --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sha256sum -o bashdefault -o default sha256sum diff --git a/pkg/usr/share/bash-completion/completion/sha384sum.bash b/pkg/usr/share/bash-completion/completion/sha384sum.bash deleted file mode 100644 index b5586af..0000000 --- a/pkg/usr/share/bash-completion/completion/sha384sum.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sha384sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sha384sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sha384sum) - opts="-c -h -V --check --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sha384sum -o bashdefault -o default sha384sum diff --git a/pkg/usr/share/bash-completion/completion/sha512sum.bash b/pkg/usr/share/bash-completion/completion/sha512sum.bash deleted file mode 100644 index 4dd2854..0000000 --- a/pkg/usr/share/bash-completion/completion/sha512sum.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sha512sum() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sha512sum" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sha512sum) - opts="-c -h -V --check --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sha512sum -o bashdefault -o default sha512sum diff --git a/pkg/usr/share/bash-completion/completion/sleep.bash b/pkg/usr/share/bash-completion/completion/sleep.bash deleted file mode 100644 index e128e29..0000000 --- a/pkg/usr/share/bash-completion/completion/sleep.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sleep() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sleep" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sleep) - opts="-h --help " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sleep -o bashdefault -o default sleep diff --git a/pkg/usr/share/bash-completion/completion/swaplabel.bash b/pkg/usr/share/bash-completion/completion/swaplabel.bash deleted file mode 100644 index 05387e1..0000000 --- a/pkg/usr/share/bash-completion/completion/swaplabel.bash +++ /dev/null @@ -1,50 +0,0 @@ -_swaplabel() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="swaplabel" - ;; - *) - ;; - esac - done - - case "${cmd}" in - swaplabel) - opts="-l -L -h -V --label --help --version " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --label) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -L) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -l) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _swaplabel -o bashdefault -o default swaplabel diff --git a/pkg/usr/share/bash-completion/completion/swapoff.bash b/pkg/usr/share/bash-completion/completion/swapoff.bash deleted file mode 100644 index b9920a8..0000000 --- a/pkg/usr/share/bash-completion/completion/swapoff.bash +++ /dev/null @@ -1,38 +0,0 @@ -_swapoff() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="swapoff" - ;; - *) - ;; - esac - done - - case "${cmd}" in - swapoff) - opts="-a -v -h -V --all --verbose --help --version [device]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _swapoff -o bashdefault -o default swapoff diff --git a/pkg/usr/share/bash-completion/completion/sync.bash b/pkg/usr/share/bash-completion/completion/sync.bash deleted file mode 100644 index 08cef18..0000000 --- a/pkg/usr/share/bash-completion/completion/sync.bash +++ /dev/null @@ -1,38 +0,0 @@ -_sync() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="sync" - ;; - *) - ;; - esac - done - - case "${cmd}" in - sync) - opts="-d -f -h -V --data --file-system --help --version [FILE]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _sync -o bashdefault -o default sync diff --git a/pkg/usr/share/bash-completion/completion/true.bash b/pkg/usr/share/bash-completion/completion/true.bash deleted file mode 100644 index 462f80b..0000000 --- a/pkg/usr/share/bash-completion/completion/true.bash +++ /dev/null @@ -1,38 +0,0 @@ -_true() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="true" - ;; - *) - ;; - esac - done - - case "${cmd}" in - true) - opts="-h --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _true -o bashdefault -o default true diff --git a/pkg/usr/share/bash-completion/completion/umount.bash b/pkg/usr/share/bash-completion/completion/umount.bash deleted file mode 100644 index adbc6b3..0000000 --- a/pkg/usr/share/bash-completion/completion/umount.bash +++ /dev/null @@ -1,46 +0,0 @@ -_umount() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="umount" - ;; - *) - ;; - esac - done - - case "${cmd}" in - umount) - opts="-a -f -l -n -t -v -h -V --all --force --lazy --types --verbose --help --version [directory|device]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --types) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -t) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _umount -o bashdefault -o default umount diff --git a/pkg/usr/share/bash-completion/completion/unlink.bash b/pkg/usr/share/bash-completion/completion/unlink.bash deleted file mode 100644 index 561af28..0000000 --- a/pkg/usr/share/bash-completion/completion/unlink.bash +++ /dev/null @@ -1,38 +0,0 @@ -_unlink() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="unlink" - ;; - *) - ;; - esac - done - - case "${cmd}" in - unlink) - opts="-v -h -V --verbose --help --version ..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _unlink -o bashdefault -o default unlink diff --git a/pkg/usr/share/bash-completion/completion/utilbox.bash b/pkg/usr/share/bash-completion/completion/utilbox.bash deleted file mode 100644 index 52ccd40..0000000 --- a/pkg/usr/share/bash-completion/completion/utilbox.bash +++ /dev/null @@ -1,542 +0,0 @@ -_utilbox() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="utilbox" - ;; - utilbox,bootstrap) - cmd="utilbox__bootstrap" - ;; - utilbox,clear) - cmd="utilbox__clear" - ;; - utilbox,help) - cmd="utilbox__help" - ;; - utilbox,mountpoint) - cmd="utilbox__mountpoint" - ;; - utilbox,swaplabel) - cmd="utilbox__swaplabel" - ;; - utilbox,swapoff) - cmd="utilbox__swapoff" - ;; - utilbox,umount) - cmd="utilbox__umount" - ;; - utilbox__bootstrap,all) - cmd="utilbox__bootstrap__all" - ;; - utilbox__bootstrap,completions) - cmd="utilbox__bootstrap__completions" - ;; - utilbox__bootstrap,help) - cmd="utilbox__bootstrap__help" - ;; - utilbox__bootstrap,links) - cmd="utilbox__bootstrap__links" - ;; - utilbox__bootstrap,manpages) - cmd="utilbox__bootstrap__manpages" - ;; - utilbox__bootstrap__help,all) - cmd="utilbox__bootstrap__help__all" - ;; - utilbox__bootstrap__help,completions) - cmd="utilbox__bootstrap__help__completions" - ;; - utilbox__bootstrap__help,help) - cmd="utilbox__bootstrap__help__help" - ;; - utilbox__bootstrap__help,links) - cmd="utilbox__bootstrap__help__links" - ;; - utilbox__bootstrap__help,manpages) - cmd="utilbox__bootstrap__help__manpages" - ;; - utilbox__help,bootstrap) - cmd="utilbox__help__bootstrap" - ;; - utilbox__help,clear) - cmd="utilbox__help__clear" - ;; - utilbox__help,help) - cmd="utilbox__help__help" - ;; - utilbox__help,mountpoint) - cmd="utilbox__help__mountpoint" - ;; - utilbox__help,swaplabel) - cmd="utilbox__help__swaplabel" - ;; - utilbox__help,swapoff) - cmd="utilbox__help__swapoff" - ;; - utilbox__help,umount) - cmd="utilbox__help__umount" - ;; - utilbox__help__bootstrap,all) - cmd="utilbox__help__bootstrap__all" - ;; - utilbox__help__bootstrap,completions) - cmd="utilbox__help__bootstrap__completions" - ;; - utilbox__help__bootstrap,links) - cmd="utilbox__help__bootstrap__links" - ;; - utilbox__help__bootstrap,manpages) - cmd="utilbox__help__bootstrap__manpages" - ;; - *) - ;; - esac - done - - case "${cmd}" in - utilbox) - opts="-h -V --help --version bootstrap clear mountpoint swaplabel swapoff umount help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap) - opts="-p -u -s -h -V --prefix --usr --soft --help --version all links manpages completions help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --prefix) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -p) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__all) - opts="-s -a -b -f -n -p -z -h -V --soft --all --bash --fish --nu --pwsh --zsh --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__completions) - opts="-a -b -f -n -p -z -h -V --all --bash --fish --nu --pwsh --zsh --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__help) - opts="all links manpages completions help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__help__all) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__help__completions) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__help__help) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__help__links) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__help__manpages) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__links) - opts="-s -h -V --soft --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__bootstrap__manpages) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__clear) - opts="-h -V --help --version" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help) - opts="bootstrap clear mountpoint swaplabel swapoff umount help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__bootstrap) - opts="all links manpages completions" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__bootstrap__all) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__bootstrap__completions) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__bootstrap__links) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__bootstrap__manpages) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__clear) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__help) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__mountpoint) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__swaplabel) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__swapoff) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__help__umount) - opts="" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__mountpoint) - opts="-d -x -q -h -V --fs-devno --devno --quiet --help --version " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__swaplabel) - opts="-l -L -h -V --label --help --version " - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --label) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -L) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -l) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__swapoff) - opts="-a -v -h -V --all --verbose --help --version [device]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - utilbox__umount) - opts="-a -f -l -n -t -v -h -V --all --force --lazy --types --verbose --help --version [directory|device]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - --types) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - -t) - COMPREPLY=($(compgen -f "${cur}")) - return 0 - ;; - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _utilbox -o bashdefault -o default utilbox diff --git a/pkg/usr/share/bash-completion/completion/wc.bash b/pkg/usr/share/bash-completion/completion/wc.bash deleted file mode 100644 index 17b9998..0000000 --- a/pkg/usr/share/bash-completion/completion/wc.bash +++ /dev/null @@ -1,38 +0,0 @@ -_wc() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="wc" - ;; - *) - ;; - esac - done - - case "${cmd}" in - wc) - opts="-c -m -l -L -w -h -V --bytes --chars --lines --max-line-length --words --help --version [INPUT]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _wc -o bashdefault -o default wc diff --git a/pkg/usr/share/bash-completion/completion/which.bash b/pkg/usr/share/bash-completion/completion/which.bash deleted file mode 100644 index 154c231..0000000 --- a/pkg/usr/share/bash-completion/completion/which.bash +++ /dev/null @@ -1,38 +0,0 @@ -_which() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="which" - ;; - *) - ;; - esac - done - - case "${cmd}" in - which) - opts="-h -V --help --version [COMMAND]..." - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _which -o bashdefault -o default which diff --git a/pkg/usr/share/bash-completion/completion/whoami.bash b/pkg/usr/share/bash-completion/completion/whoami.bash deleted file mode 100644 index 7aa7940..0000000 --- a/pkg/usr/share/bash-completion/completion/whoami.bash +++ /dev/null @@ -1,38 +0,0 @@ -_whoami() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="whoami" - ;; - *) - ;; - esac - done - - case "${cmd}" in - whoami) - opts="-h --help" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _whoami -o bashdefault -o default whoami diff --git a/pkg/usr/share/bash-completion/completion/yes.bash b/pkg/usr/share/bash-completion/completion/yes.bash deleted file mode 100644 index 439438d..0000000 --- a/pkg/usr/share/bash-completion/completion/yes.bash +++ /dev/null @@ -1,38 +0,0 @@ -_yes() { - local i cur prev opts cmd - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - cmd="" - opts="" - - for i in ${COMP_WORDS[@]} - do - case "${cmd},${i}" in - ",$1") - cmd="yes" - ;; - *) - ;; - esac - done - - case "${cmd}" in - yes) - opts="-h --help [msg]" - if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - case "${prev}" in - *) - COMPREPLY=() - ;; - esac - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - ;; - esac -} - -complete -F _yes -o bashdefault -o default yes diff --git a/pkg/usr/share/fish/completions/b2sum.fish b/pkg/usr/share/fish/completions/b2sum.fish deleted file mode 100644 index 5372c5d..0000000 --- a/pkg/usr/share/fish/completions/b2sum.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c b2sum -s l -l length -d 'digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8' -r -complete -c b2sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c b2sum -s h -l help -d 'Print help' -complete -c b2sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/base32.fish b/pkg/usr/share/fish/completions/base32.fish deleted file mode 100644 index 502c322..0000000 --- a/pkg/usr/share/fish/completions/base32.fish +++ /dev/null @@ -1,7 +0,0 @@ -complete -c base32 -s w -l wrap -d 'Wrap encoded lines after n characters' -r -complete -c base32 -s c -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c base32 -s d -l decode -d 'Decode rather than encode' -complete -c base32 -s i -l ignore-space -d 'Ignore whitespace when decoding' -complete -c base32 -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c base32 -s q -l quiet -d 'Do not display header, even with multiple files' -complete -c base32 -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/base64.fish b/pkg/usr/share/fish/completions/base64.fish deleted file mode 100644 index 7976e55..0000000 --- a/pkg/usr/share/fish/completions/base64.fish +++ /dev/null @@ -1,7 +0,0 @@ -complete -c base64 -s w -l wrap -d 'Wrap encoded lines after n characters' -r -complete -c base64 -s c -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c base64 -s d -l decode -d 'Decode rather than encode' -complete -c base64 -s i -l ignore-space -d 'Ignore whitespace when decoding' -complete -c base64 -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c base64 -s q -l quiet -d 'Do not display header, even with multiple files' -complete -c base64 -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/basename.fish b/pkg/usr/share/fish/completions/basename.fish deleted file mode 100644 index 432fcee..0000000 --- a/pkg/usr/share/fish/completions/basename.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c basename -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/bootstrap.fish b/pkg/usr/share/fish/completions/bootstrap.fish deleted file mode 100644 index 5029b82..0000000 --- a/pkg/usr/share/fish/completions/bootstrap.fish +++ /dev/null @@ -1,33 +0,0 @@ -complete -c bootstrap -n "__fish_use_subcommand" -s p -l prefix -d 'The directory path under which to install' -r -complete -c bootstrap -n "__fish_use_subcommand" -s u -l usr -d 'Use /usr' -complete -c bootstrap -n "__fish_use_subcommand" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c bootstrap -n "__fish_use_subcommand" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c bootstrap -n "__fish_use_subcommand" -s V -l version -d 'Print version' -complete -c bootstrap -n "__fish_use_subcommand" -f -a "all" -d 'Install everything' -complete -c bootstrap -n "__fish_use_subcommand" -f -a "links" -d 'Install links for each applet' -complete -c bootstrap -n "__fish_use_subcommand" -f -a "manpages" -d 'Install Unix man pages' -complete -c bootstrap -n "__fish_use_subcommand" -f -a "completions" -d 'Install shell completions' -complete -c bootstrap -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s a -l all -d 'Install completions for all supported shells' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s b -l bash -d 'Bash shell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s f -l fish -d 'Fish shell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s n -l nu -d 'Nushell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s p -l pwsh -d 'PowerShell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s z -l zsh -d 'Zshell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from all" -s h -l help -d 'Print help' -complete -c bootstrap -n "__fish_seen_subcommand_from links" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c bootstrap -n "__fish_seen_subcommand_from links" -s h -l help -d 'Print help' -complete -c bootstrap -n "__fish_seen_subcommand_from manpages" -s h -l help -d 'Print help' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s a -l all -d 'Install completions for all supported shells' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s b -l bash -d 'Bash shell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s f -l fish -d 'Fish shell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s n -l nu -d 'Nushell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s p -l pwsh -d 'PowerShell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s z -l zsh -d 'Zshell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from completions" -s h -l help -d 'Print help' -complete -c bootstrap -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "all" -d 'Install everything' -complete -c bootstrap -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "links" -d 'Install links for each applet' -complete -c bootstrap -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "manpages" -d 'Install Unix man pages' -complete -c bootstrap -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "completions" -d 'Install shell completions' -complete -c bootstrap -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' diff --git a/pkg/usr/share/fish/completions/chgrp.fish b/pkg/usr/share/fish/completions/chgrp.fish deleted file mode 100644 index 4dae02f..0000000 --- a/pkg/usr/share/fish/completions/chgrp.fish +++ /dev/null @@ -1,9 +0,0 @@ -complete -c chgrp -s c -l changes -d 'report only when a change is made' -complete -c chgrp -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c chgrp -s R -l recursive -d 'operate on files and directories recursively' -complete -c chgrp -s H -d 'if a command line argument is a symbolic link to a directory, traverse it' -complete -c chgrp -s L -d 'traverse every symbolic link encountered in a directory' -complete -c chgrp -s P -d 'do not traverse any symbolic links (default)' -complete -c chgrp -s s -l same-filesystem -d 'do not cross filesystem boundaries (requires recursive)' -complete -c chgrp -s h -l help -d 'Print help' -complete -c chgrp -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/chmod.fish b/pkg/usr/share/fish/completions/chmod.fish deleted file mode 100644 index 4487475..0000000 --- a/pkg/usr/share/fish/completions/chmod.fish +++ /dev/null @@ -1,6 +0,0 @@ -complete -c chmod -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c chmod -s c -l changes -d 'report only when a change is made' -complete -c chmod -s f -l silent -l quiet -d 'suppress most error messages' -complete -c chmod -s R -l recursive -d 'operate on files and directories recursively' -complete -c chmod -s h -l help -d 'Print help' -complete -c chmod -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/chown.fish b/pkg/usr/share/fish/completions/chown.fish deleted file mode 100644 index a64e2bc..0000000 --- a/pkg/usr/share/fish/completions/chown.fish +++ /dev/null @@ -1,9 +0,0 @@ -complete -c chown -s c -l changes -d 'report only when a change is made' -complete -c chown -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c chown -s R -l recursive -d 'operate on files and directories recursively' -complete -c chown -s H -d 'if a command line argument is a symbolic link to a directory, traverse it' -complete -c chown -s L -d 'traverse every symbolic link encountered in a directory' -complete -c chown -s P -d 'do not traverse any symbolic links (default)' -complete -c chown -s s -l same-filesystem -d 'do not cross filesystem boundaries (requires recursive)' -complete -c chown -s h -l help -d 'Print help' -complete -c chown -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/chroot.fish b/pkg/usr/share/fish/completions/chroot.fish deleted file mode 100644 index 60ff726..0000000 --- a/pkg/usr/share/fish/completions/chroot.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c chroot -s d -l directory -d 'change to this directory after performing the chroot instead of \'/\'' -r -complete -c chroot -s h -l help -d 'Print help' -complete -c chroot -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/clear.fish b/pkg/usr/share/fish/completions/clear.fish deleted file mode 100644 index 47d8451..0000000 --- a/pkg/usr/share/fish/completions/clear.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c clear -s h -l help -d 'Print help' -complete -c clear -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/corebox.fish b/pkg/usr/share/fish/completions/corebox.fish deleted file mode 100644 index e885b25..0000000 --- a/pkg/usr/share/fish/completions/corebox.fish +++ /dev/null @@ -1,297 +0,0 @@ -complete -c corebox -n "__fish_use_subcommand" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_use_subcommand" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_use_subcommand" -f -a "base32" -d 'Base32 encode/decode data and print to standard output' -complete -c corebox -n "__fish_use_subcommand" -f -a "base64" -d 'Base64 encode/decode data and print to standard output' -complete -c corebox -n "__fish_use_subcommand" -f -a "basename" -d 'Print NAME with any leading directory components removed.' -complete -c corebox -n "__fish_use_subcommand" -f -a "bootstrap" -d 'Install shitbox into the filesystem' -complete -c corebox -n "__fish_use_subcommand" -f -a "chgrp" -d 'change group ownership' -complete -c corebox -n "__fish_use_subcommand" -f -a "chmod" -d 'change file mode bits' -complete -c corebox -n "__fish_use_subcommand" -f -a "chown" -d 'change file owner and group' -complete -c corebox -n "__fish_use_subcommand" -f -a "chroot" -d 'run command or interactive shell with special root directory' -complete -c corebox -n "__fish_use_subcommand" -f -a "cut" -d 'cut out selected fields of each line of a file' -complete -c corebox -n "__fish_use_subcommand" -f -a "dirname" -d 'strip last component from file name' -complete -c corebox -n "__fish_use_subcommand" -f -a "echo" -d 'Display a line of text' -complete -c corebox -n "__fish_use_subcommand" -f -a "false" -d 'Does nothing unsuccessfully' -complete -c corebox -n "__fish_use_subcommand" -f -a "factor" -d 'factor numbers' -complete -c corebox -n "__fish_use_subcommand" -f -a "fold" -d 'Wrap each input line to fit in specified width' -complete -c corebox -n "__fish_use_subcommand" -f -a "groups" -d 'display current group names' -complete -c corebox -n "__fish_use_subcommand" -f -a "head" -d 'Display first lines of a file' -complete -c corebox -n "__fish_use_subcommand" -f -a "hostid" -d 'print the numeric identifier for the current host' -complete -c corebox -n "__fish_use_subcommand" -f -a "hostname" -d 'Prints the name of the current host. The super-user can set the host name by supplying an argument.' -complete -c corebox -n "__fish_use_subcommand" -f -a "link" -d 'call the link function to create a link to a file' -complete -c corebox -n "__fish_use_subcommand" -f -a "ln" -d 'make links between files' -complete -c corebox -n "__fish_use_subcommand" -f -a "logname" -d 'print user\'s login name' -complete -c corebox -n "__fish_use_subcommand" -f -a "mkfifo" -d 'make FIFO special files' -complete -c corebox -n "__fish_use_subcommand" -f -a "mknod" -d 'make block or character special files' -complete -c corebox -n "__fish_use_subcommand" -f -a "mktemp" -d 'create a unique temporary file' -complete -c corebox -n "__fish_use_subcommand" -f -a "nologin" -d 'Denies a user account login ability' -complete -c corebox -n "__fish_use_subcommand" -f -a "nproc" -d 'Print the number of processing units available' -complete -c corebox -n "__fish_use_subcommand" -f -a "printenv" -d 'print all or part of environment' -complete -c corebox -n "__fish_use_subcommand" -f -a "pwd" -d 'return working directory name' -complete -c corebox -n "__fish_use_subcommand" -f -a "readlink" -d 'Print symbolic link target or canonical file name' -complete -c corebox -n "__fish_use_subcommand" -f -a "realpath" -d 'return resolved physical path' -complete -c corebox -n "__fish_use_subcommand" -f -a "rev" -d 'reverse lines characterwise' -complete -c corebox -n "__fish_use_subcommand" -f -a "rm" -d 'remove files or directories' -complete -c corebox -n "__fish_use_subcommand" -f -a "rmdir" -d 'remove directories' -complete -c corebox -n "__fish_use_subcommand" -f -a "sleep" -d 'Suspend execution for an interval of time' -complete -c corebox -n "__fish_use_subcommand" -f -a "sync" -d 'force completion of pending disk writes (flush cache)' -complete -c corebox -n "__fish_use_subcommand" -f -a "true" -d 'Does nothing successfully' -complete -c corebox -n "__fish_use_subcommand" -f -a "unlink" -d 'call the unlink function to remove the specified file' -complete -c corebox -n "__fish_use_subcommand" -f -a "wc" -d 'Print newline, word, and byte counts for each file' -complete -c corebox -n "__fish_use_subcommand" -f -a "which" -d 'Write the full path of COMMAND(s) to standard output' -complete -c corebox -n "__fish_use_subcommand" -f -a "whoami" -d 'print effective user name' -complete -c corebox -n "__fish_use_subcommand" -f -a "yes" -d 'output a string repeatedly until killed' -complete -c corebox -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c corebox -n "__fish_seen_subcommand_from base32" -s w -l wrap -d 'Wrap encoded lines after n characters' -r -complete -c corebox -n "__fish_seen_subcommand_from base32" -s c -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c corebox -n "__fish_seen_subcommand_from base32" -s d -l decode -d 'Decode rather than encode' -complete -c corebox -n "__fish_seen_subcommand_from base32" -s i -l ignore-space -d 'Ignore whitespace when decoding' -complete -c corebox -n "__fish_seen_subcommand_from base32" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from base32" -s q -l quiet -d 'Do not display header, even with multiple files' -complete -c corebox -n "__fish_seen_subcommand_from base32" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from base32" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from base64" -s w -l wrap -d 'Wrap encoded lines after n characters' -r -complete -c corebox -n "__fish_seen_subcommand_from base64" -s c -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c corebox -n "__fish_seen_subcommand_from base64" -s d -l decode -d 'Decode rather than encode' -complete -c corebox -n "__fish_seen_subcommand_from base64" -s i -l ignore-space -d 'Ignore whitespace when decoding' -complete -c corebox -n "__fish_seen_subcommand_from base64" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from base64" -s q -l quiet -d 'Do not display header, even with multiple files' -complete -c corebox -n "__fish_seen_subcommand_from base64" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from base64" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from basename" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from basename" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s p -l prefix -d 'The directory path under which to install' -r -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s u -l usr -d 'Use /usr' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "all" -d 'Install everything' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "links" -d 'Install links for each applet' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "manpages" -d 'Install Unix man pages' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "completions" -d 'Install shell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s a -l all -d 'Install completions for all supported shells' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s b -l bash -d 'Bash shell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s f -l fish -d 'Fish shell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s n -l nu -d 'Nushell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s p -l pwsh -d 'PowerShell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s z -l zsh -d 'Zshell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from links" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from links" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from links" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from manpages" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from manpages" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s a -l all -d 'Install completions for all supported shells' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s b -l bash -d 'Bash shell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s f -l fish -d 'Fish shell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s n -l nu -d 'Nushell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s p -l pwsh -d 'PowerShell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s z -l zsh -d 'Zshell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "all" -d 'Install everything' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "links" -d 'Install links for each applet' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "manpages" -d 'Install Unix man pages' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "completions" -d 'Install shell completions' -complete -c corebox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s c -l changes -d 'report only when a change is made' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s R -l recursive -d 'operate on files and directories recursively' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s H -d 'if a command line argument is a symbolic link to a directory, traverse it' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s L -d 'traverse every symbolic link encountered in a directory' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s P -d 'do not traverse any symbolic links (default)' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s s -l same-filesystem -d 'do not cross filesystem boundaries (requires recursive)' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from chgrp" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from chmod" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from chmod" -s c -l changes -d 'report only when a change is made' -complete -c corebox -n "__fish_seen_subcommand_from chmod" -s f -l silent -l quiet -d 'suppress most error messages' -complete -c corebox -n "__fish_seen_subcommand_from chmod" -s R -l recursive -d 'operate on files and directories recursively' -complete -c corebox -n "__fish_seen_subcommand_from chmod" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from chmod" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s c -l changes -d 'report only when a change is made' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s R -l recursive -d 'operate on files and directories recursively' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s H -d 'if a command line argument is a symbolic link to a directory, traverse it' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s L -d 'traverse every symbolic link encountered in a directory' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s P -d 'do not traverse any symbolic links (default)' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s s -l same-filesystem -d 'do not cross filesystem boundaries (requires recursive)' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from chown" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from chroot" -s d -l directory -d 'change to this directory after performing the chroot instead of \'/\'' -r -complete -c corebox -n "__fish_seen_subcommand_from chroot" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from chroot" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from cut" -s b -l bytes -d 'select only these bytes' -r -complete -c corebox -n "__fish_seen_subcommand_from cut" -s c -l characters -d 'select only these characters' -r -complete -c corebox -n "__fish_seen_subcommand_from cut" -s f -l fields -d 'select only these fields' -r -complete -c corebox -n "__fish_seen_subcommand_from cut" -s d -l delimiter -d 'use DELIM instead of TAB for field delimiter' -r -complete -c corebox -n "__fish_seen_subcommand_from cut" -s n -d 'ignored' -r -complete -c corebox -n "__fish_seen_subcommand_from cut" -s s -l only-delimited -complete -c corebox -n "__fish_seen_subcommand_from cut" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from cut" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from dirname" -s z -l zero -d 'end each output line with NUL, not newline' -complete -c corebox -n "__fish_seen_subcommand_from dirname" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from dirname" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from echo" -s n -d 'Do not output a trailing newline' -r -complete -c corebox -n "__fish_seen_subcommand_from echo" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from echo" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from false" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from false" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from factor" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from factor" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from fold" -s w -l width -d 'Use width columns' -r -complete -c corebox -n "__fish_seen_subcommand_from fold" -s b -l bytes -d 'Count bytes rather than columns' -complete -c corebox -n "__fish_seen_subcommand_from fold" -s s -l spaces -d 'Break at spaces' -complete -c corebox -n "__fish_seen_subcommand_from fold" -s o -l optimal -d 'Optimal fit' -complete -c corebox -n "__fish_seen_subcommand_from fold" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from fold" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from groups" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from groups" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from head" -s n -l lines -d 'Count n number of lines (or bytes if -c is specified).' -r -complete -c corebox -n "__fish_seen_subcommand_from head" -s C -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c corebox -n "__fish_seen_subcommand_from head" -s 1 -r -complete -c corebox -n "__fish_seen_subcommand_from head" -s c -l bytes -d 'Count bytes instead of lines' -complete -c corebox -n "__fish_seen_subcommand_from head" -s q -l quiet -d 'Disable printing a header. Overrides -c' -complete -c corebox -n "__fish_seen_subcommand_from head" -s v -l verbose -d 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.' -complete -c corebox -n "__fish_seen_subcommand_from head" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from head" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from hostid" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from hostid" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from hostname" -s s -l strip -d 'Removes any domain information from the printed name.' -complete -c corebox -n "__fish_seen_subcommand_from hostname" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from hostname" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from link" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from link" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from link" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s f -l force -d 'remove existing destination files' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s s -l symbolic -d 'make symbolic links instead of hard links' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s v -l verbose -d 'print name of each linked file' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s L -d 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link.' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s P -d 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself.' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from ln" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from logname" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from logname" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from mkfifo" -s m -l mode -d 'Set the file permission bits of the newly-created FIFO to the specified mode value.' -r -complete -c corebox -n "__fish_seen_subcommand_from mkfifo" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from mkfifo" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from mkfifo" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from mknod" -s m -l mode -d 'set file permission bits to MODE, not a=rw - umask' -r -complete -c corebox -n "__fish_seen_subcommand_from mknod" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from mknod" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from mknod" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from mktemp" -s p -l tmpdir -d 'specify the directory to create temporary files in' -r -f -a "(__fish_complete_directories)" -complete -c corebox -n "__fish_seen_subcommand_from mktemp" -s t -l template -d 'specify a prefix to append to the created files' -r -complete -c corebox -n "__fish_seen_subcommand_from mktemp" -s d -l directory -d 'create a directory instead of a file' -complete -c corebox -n "__fish_seen_subcommand_from mktemp" -s u -l dryrun -d 'immediately remove created files and directories' -complete -c corebox -n "__fish_seen_subcommand_from mktemp" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from mktemp" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from nologin" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from nologin" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from nproc" -s a -l all -d 'Print the number of installed processors' -complete -c corebox -n "__fish_seen_subcommand_from nproc" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from nproc" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from printenv" -s 0 -l null -d 'end each output line with NUL, not newline' -complete -c corebox -n "__fish_seen_subcommand_from printenv" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from printenv" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from pwd" -s L -l logical -d 'use PWD from environment, even if it contains symlinks' -complete -c corebox -n "__fish_seen_subcommand_from pwd" -s P -l physical -d 'avoid all symlinks' -complete -c corebox -n "__fish_seen_subcommand_from pwd" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from pwd" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from readlink" -s f -s c -l canonicalize -d 'Canonicalize path' -complete -c corebox -n "__fish_seen_subcommand_from readlink" -s n -l no-newline -d 'Do not print the terminating newline.' -complete -c corebox -n "__fish_seen_subcommand_from readlink" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from readlink" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from realpath" -s q -l quiet -d 'ignore warnings' -complete -c corebox -n "__fish_seen_subcommand_from realpath" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from realpath" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from rev" -s c -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c corebox -n "__fish_seen_subcommand_from rev" -s v -l verbose -d 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.' -complete -c corebox -n "__fish_seen_subcommand_from rev" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from rev" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from rm" -l interactive -d 'when to prompt' -r -f -a "{never ,once ,always }" -complete -c corebox -n "__fish_seen_subcommand_from rm" -s i -d 'prompt before every removal' -complete -c corebox -n "__fish_seen_subcommand_from rm" -s I -d 'prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes' -complete -c corebox -n "__fish_seen_subcommand_from rm" -s f -l force -d 'ignore nonexistent files and arguments, never prompt' -complete -c corebox -n "__fish_seen_subcommand_from rm" -s R -l recursive -d 'operate on files and directories recursively' -complete -c corebox -n "__fish_seen_subcommand_from rm" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from rm" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from rm" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from rmdir" -s p -l parents -d 'remove DIRECTORY and it\'s ancestors' -complete -c corebox -n "__fish_seen_subcommand_from rmdir" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from rmdir" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from rmdir" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from sleep" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from sleep" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from sync" -s d -l data -d 'sync only file data, no unneeded metadata' -complete -c corebox -n "__fish_seen_subcommand_from sync" -s f -l file-system -d 'sync the file systems that contain the files' -complete -c corebox -n "__fish_seen_subcommand_from sync" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from sync" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from true" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c corebox -n "__fish_seen_subcommand_from true" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from unlink" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c corebox -n "__fish_seen_subcommand_from unlink" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from unlink" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s c -l bytes -d 'Print the byte counts' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s m -l chars -d 'Print the character counts' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s l -l lines -d 'Print the line counts' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s L -l max-line-length -d 'Print the maximum display width' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s w -l words -d 'Print the word counts' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from wc" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from which" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from which" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from whoami" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from whoami" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from yes" -s h -l help -d 'Print help' -complete -c corebox -n "__fish_seen_subcommand_from yes" -s V -l version -d 'Print version' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "base32" -d 'Base32 encode/decode data and print to standard output' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "base64" -d 'Base64 encode/decode data and print to standard output' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "basename" -d 'Print NAME with any leading directory components removed.' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "bootstrap" -d 'Install shitbox into the filesystem' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "chgrp" -d 'change group ownership' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "chmod" -d 'change file mode bits' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "chown" -d 'change file owner and group' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "chroot" -d 'run command or interactive shell with special root directory' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "cut" -d 'cut out selected fields of each line of a file' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "dirname" -d 'strip last component from file name' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "echo" -d 'Display a line of text' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "false" -d 'Does nothing unsuccessfully' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "factor" -d 'factor numbers' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "fold" -d 'Wrap each input line to fit in specified width' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "groups" -d 'display current group names' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "head" -d 'Display first lines of a file' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "hostid" -d 'print the numeric identifier for the current host' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "hostname" -d 'Prints the name of the current host. The super-user can set the host name by supplying an argument.' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "link" -d 'call the link function to create a link to a file' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "ln" -d 'make links between files' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "logname" -d 'print user\'s login name' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "mkfifo" -d 'make FIFO special files' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "mknod" -d 'make block or character special files' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "mktemp" -d 'create a unique temporary file' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "nologin" -d 'Denies a user account login ability' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "nproc" -d 'Print the number of processing units available' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "printenv" -d 'print all or part of environment' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "pwd" -d 'return working directory name' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "readlink" -d 'Print symbolic link target or canonical file name' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "realpath" -d 'return resolved physical path' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "rev" -d 'reverse lines characterwise' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "rm" -d 'remove files or directories' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "rmdir" -d 'remove directories' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "sleep" -d 'Suspend execution for an interval of time' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "sync" -d 'force completion of pending disk writes (flush cache)' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "true" -d 'Does nothing successfully' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "unlink" -d 'call the unlink function to remove the specified file' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "wc" -d 'Print newline, word, and byte counts for each file' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "which" -d 'Write the full path of COMMAND(s) to standard output' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "whoami" -d 'print effective user name' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "yes" -d 'output a string repeatedly until killed' -complete -c corebox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from base32; and not __fish_seen_subcommand_from base64; and not __fish_seen_subcommand_from basename; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from chgrp; and not __fish_seen_subcommand_from chmod; and not __fish_seen_subcommand_from chown; and not __fish_seen_subcommand_from chroot; and not __fish_seen_subcommand_from cut; and not __fish_seen_subcommand_from dirname; and not __fish_seen_subcommand_from echo; and not __fish_seen_subcommand_from false; and not __fish_seen_subcommand_from factor; and not __fish_seen_subcommand_from fold; and not __fish_seen_subcommand_from groups; and not __fish_seen_subcommand_from head; and not __fish_seen_subcommand_from hostid; and not __fish_seen_subcommand_from hostname; and not __fish_seen_subcommand_from link; and not __fish_seen_subcommand_from ln; and not __fish_seen_subcommand_from logname; and not __fish_seen_subcommand_from mkfifo; and not __fish_seen_subcommand_from mknod; and not __fish_seen_subcommand_from mktemp; and not __fish_seen_subcommand_from nologin; and not __fish_seen_subcommand_from nproc; and not __fish_seen_subcommand_from printenv; and not __fish_seen_subcommand_from pwd; and not __fish_seen_subcommand_from readlink; and not __fish_seen_subcommand_from realpath; and not __fish_seen_subcommand_from rev; and not __fish_seen_subcommand_from rm; and not __fish_seen_subcommand_from rmdir; and not __fish_seen_subcommand_from sleep; and not __fish_seen_subcommand_from sync; and not __fish_seen_subcommand_from true; and not __fish_seen_subcommand_from unlink; and not __fish_seen_subcommand_from wc; and not __fish_seen_subcommand_from which; and not __fish_seen_subcommand_from whoami; and not __fish_seen_subcommand_from yes; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c corebox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "all" -d 'Install everything' -complete -c corebox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "links" -d 'Install links for each applet' -complete -c corebox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "manpages" -d 'Install Unix man pages' -complete -c corebox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "completions" -d 'Install shell completions' diff --git a/pkg/usr/share/fish/completions/cut.fish b/pkg/usr/share/fish/completions/cut.fish deleted file mode 100644 index 052c0a4..0000000 --- a/pkg/usr/share/fish/completions/cut.fish +++ /dev/null @@ -1,8 +0,0 @@ -complete -c cut -s b -l bytes -d 'select only these bytes' -r -complete -c cut -s c -l characters -d 'select only these characters' -r -complete -c cut -s f -l fields -d 'select only these fields' -r -complete -c cut -s d -l delimiter -d 'use DELIM instead of TAB for field delimiter' -r -complete -c cut -s n -d 'ignored' -r -complete -c cut -s s -l only-delimited -complete -c cut -s h -l help -d 'Print help' -complete -c cut -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/dirname.fish b/pkg/usr/share/fish/completions/dirname.fish deleted file mode 100644 index b05348c..0000000 --- a/pkg/usr/share/fish/completions/dirname.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c dirname -s z -l zero -d 'end each output line with NUL, not newline' -complete -c dirname -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/echo.fish b/pkg/usr/share/fish/completions/echo.fish deleted file mode 100644 index d7a559c..0000000 --- a/pkg/usr/share/fish/completions/echo.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c echo -s n -d 'Do not output a trailing newline' -r -complete -c echo -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/factor.fish b/pkg/usr/share/fish/completions/factor.fish deleted file mode 100644 index 127213f..0000000 --- a/pkg/usr/share/fish/completions/factor.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c factor -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/false.fish b/pkg/usr/share/fish/completions/false.fish deleted file mode 100644 index 713c935..0000000 --- a/pkg/usr/share/fish/completions/false.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c false -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/fold.fish b/pkg/usr/share/fish/completions/fold.fish deleted file mode 100644 index 4a86663..0000000 --- a/pkg/usr/share/fish/completions/fold.fish +++ /dev/null @@ -1,5 +0,0 @@ -complete -c fold -s w -l width -d 'Use width columns' -r -complete -c fold -s b -l bytes -d 'Count bytes rather than columns' -complete -c fold -s s -l spaces -d 'Break at spaces' -complete -c fold -s o -l optimal -d 'Optimal fit' -complete -c fold -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/groups.fish b/pkg/usr/share/fish/completions/groups.fish deleted file mode 100644 index 1ee552f..0000000 --- a/pkg/usr/share/fish/completions/groups.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c groups -s h -l help -d 'Print help' -complete -c groups -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/head.fish b/pkg/usr/share/fish/completions/head.fish deleted file mode 100644 index 70285da..0000000 --- a/pkg/usr/share/fish/completions/head.fish +++ /dev/null @@ -1,7 +0,0 @@ -complete -c head -s n -l lines -d 'Count n number of lines (or bytes if -c is specified).' -r -complete -c head -s C -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c head -s 1 -r -complete -c head -s c -l bytes -d 'Count bytes instead of lines' -complete -c head -s q -l quiet -d 'Disable printing a header. Overrides -c' -complete -c head -s v -l verbose -d 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.' -complete -c head -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/hostid.fish b/pkg/usr/share/fish/completions/hostid.fish deleted file mode 100644 index 745faf7..0000000 --- a/pkg/usr/share/fish/completions/hostid.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c hostid -s h -l help -d 'Print help' -complete -c hostid -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/hostname.fish b/pkg/usr/share/fish/completions/hostname.fish deleted file mode 100644 index 12a4175..0000000 --- a/pkg/usr/share/fish/completions/hostname.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c hostname -s s -l strip -d 'Removes any domain information from the printed name.' -complete -c hostname -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/link.fish b/pkg/usr/share/fish/completions/link.fish deleted file mode 100644 index c621898..0000000 --- a/pkg/usr/share/fish/completions/link.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c link -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c link -s h -l help -d 'Print help' -complete -c link -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/ln.fish b/pkg/usr/share/fish/completions/ln.fish deleted file mode 100644 index eec2442..0000000 --- a/pkg/usr/share/fish/completions/ln.fish +++ /dev/null @@ -1,7 +0,0 @@ -complete -c ln -s f -l force -d 'remove existing destination files' -complete -c ln -s s -l symbolic -d 'make symbolic links instead of hard links' -complete -c ln -s v -l verbose -d 'print name of each linked file' -complete -c ln -s L -d 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link.' -complete -c ln -s P -d 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself.' -complete -c ln -s h -l help -d 'Print help' -complete -c ln -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/logname.fish b/pkg/usr/share/fish/completions/logname.fish deleted file mode 100644 index 6a148ea..0000000 --- a/pkg/usr/share/fish/completions/logname.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c logname -s h -l help -d 'Print help' -complete -c logname -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/md5sum.fish b/pkg/usr/share/fish/completions/md5sum.fish deleted file mode 100644 index 5f57d26..0000000 --- a/pkg/usr/share/fish/completions/md5sum.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c md5sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c md5sum -s h -l help -d 'Print help' -complete -c md5sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/mkfifo.fish b/pkg/usr/share/fish/completions/mkfifo.fish deleted file mode 100644 index dd3b590..0000000 --- a/pkg/usr/share/fish/completions/mkfifo.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c mkfifo -s m -l mode -d 'Set the file permission bits of the newly-created FIFO to the specified mode value.' -r -complete -c mkfifo -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c mkfifo -s h -l help -d 'Print help (see more with \'--help\')' -complete -c mkfifo -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/mknod.fish b/pkg/usr/share/fish/completions/mknod.fish deleted file mode 100644 index e2cae00..0000000 --- a/pkg/usr/share/fish/completions/mknod.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c mknod -s m -l mode -d 'set file permission bits to MODE, not a=rw - umask' -r -complete -c mknod -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c mknod -s h -l help -d 'Print help' -complete -c mknod -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/mktemp.fish b/pkg/usr/share/fish/completions/mktemp.fish deleted file mode 100644 index 2582dcd..0000000 --- a/pkg/usr/share/fish/completions/mktemp.fish +++ /dev/null @@ -1,6 +0,0 @@ -complete -c mktemp -s p -l tmpdir -d 'specify the directory to create temporary files in' -r -f -a "(__fish_complete_directories)" -complete -c mktemp -s t -l template -d 'specify a prefix to append to the created files' -r -complete -c mktemp -s d -l directory -d 'create a directory instead of a file' -complete -c mktemp -s u -l dryrun -d 'immediately remove created files and directories' -complete -c mktemp -s h -l help -d 'Print help' -complete -c mktemp -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/mountpoint.fish b/pkg/usr/share/fish/completions/mountpoint.fish deleted file mode 100644 index 2d68a6d..0000000 --- a/pkg/usr/share/fish/completions/mountpoint.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c mountpoint -s d -l fs-devno -d 'Show the major/minor numbers of the device that is mounted on the given directory.' -complete -c mountpoint -s x -l devno -d 'Show the major/minor numbers of the given blockdevice on standard output.' -complete -c mountpoint -s q -l quiet -d 'Be quiet - don’t print anything.' -complete -c mountpoint -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/nologin.fish b/pkg/usr/share/fish/completions/nologin.fish deleted file mode 100644 index 681086a..0000000 --- a/pkg/usr/share/fish/completions/nologin.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c nologin -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/nproc.fish b/pkg/usr/share/fish/completions/nproc.fish deleted file mode 100644 index 9230faa..0000000 --- a/pkg/usr/share/fish/completions/nproc.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c nproc -s a -l all -d 'Print the number of installed processors' -complete -c nproc -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/printenv.fish b/pkg/usr/share/fish/completions/printenv.fish deleted file mode 100644 index 75dee71..0000000 --- a/pkg/usr/share/fish/completions/printenv.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c printenv -s 0 -l null -d 'end each output line with NUL, not newline' -complete -c printenv -s h -l help -d 'Print help' -complete -c printenv -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/pwd.fish b/pkg/usr/share/fish/completions/pwd.fish deleted file mode 100644 index 7b259d7..0000000 --- a/pkg/usr/share/fish/completions/pwd.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c pwd -s L -l logical -d 'use PWD from environment, even if it contains symlinks' -complete -c pwd -s P -l physical -d 'avoid all symlinks' -complete -c pwd -s h -l help -d 'Print help' -complete -c pwd -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/readlink.fish b/pkg/usr/share/fish/completions/readlink.fish deleted file mode 100644 index 812aec2..0000000 --- a/pkg/usr/share/fish/completions/readlink.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c readlink -s f -s c -l canonicalize -d 'Canonicalize path' -complete -c readlink -s n -l no-newline -d 'Do not print the terminating newline.' -complete -c readlink -s h -l help -d 'Print help' -complete -c readlink -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/realpath.fish b/pkg/usr/share/fish/completions/realpath.fish deleted file mode 100644 index d5c1098..0000000 --- a/pkg/usr/share/fish/completions/realpath.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c realpath -s q -l quiet -d 'ignore warnings' -complete -c realpath -s h -l help -d 'Print help' -complete -c realpath -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/rev.fish b/pkg/usr/share/fish/completions/rev.fish deleted file mode 100644 index b2521fb..0000000 --- a/pkg/usr/share/fish/completions/rev.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c rev -s c -l color -r -f -a "{always ,ansi ,auto ,never }" -complete -c rev -s v -l verbose -d 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.' -complete -c rev -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/rm.fish b/pkg/usr/share/fish/completions/rm.fish deleted file mode 100644 index 9326088..0000000 --- a/pkg/usr/share/fish/completions/rm.fish +++ /dev/null @@ -1,9 +0,0 @@ -complete -c rm -l interactive -d 'when to prompt' -r -f -a "{never ,once ,always }" -complete -c rm -s i -d 'prompt before every removal' -complete -c rm -s I -d 'prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes' -complete -c rm -s f -l force -d 'ignore nonexistent files and arguments, never prompt' -complete -c rm -s R -l recursive -d 'operate on files and directories recursively' -complete -c rm -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c rm -s h -l help -d 'Print help' -complete -c rm -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/rmdir.fish b/pkg/usr/share/fish/completions/rmdir.fish deleted file mode 100644 index 1f4addc..0000000 --- a/pkg/usr/share/fish/completions/rmdir.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c rmdir -s p -l parents -d 'remove DIRECTORY and it\'s ancestors' -complete -c rmdir -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c rmdir -s h -l help -d 'Print help' -complete -c rmdir -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sha1sum.fish b/pkg/usr/share/fish/completions/sha1sum.fish deleted file mode 100644 index 2c64ccd..0000000 --- a/pkg/usr/share/fish/completions/sha1sum.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c sha1sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c sha1sum -s h -l help -d 'Print help' -complete -c sha1sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sha224sum.fish b/pkg/usr/share/fish/completions/sha224sum.fish deleted file mode 100644 index 82c4a47..0000000 --- a/pkg/usr/share/fish/completions/sha224sum.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c sha224sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c sha224sum -s h -l help -d 'Print help' -complete -c sha224sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sha256sum.fish b/pkg/usr/share/fish/completions/sha256sum.fish deleted file mode 100644 index c3fc3e4..0000000 --- a/pkg/usr/share/fish/completions/sha256sum.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c sha256sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c sha256sum -s h -l help -d 'Print help' -complete -c sha256sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sha384sum.fish b/pkg/usr/share/fish/completions/sha384sum.fish deleted file mode 100644 index 235ac04..0000000 --- a/pkg/usr/share/fish/completions/sha384sum.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c sha384sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c sha384sum -s h -l help -d 'Print help' -complete -c sha384sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sha512sum.fish b/pkg/usr/share/fish/completions/sha512sum.fish deleted file mode 100644 index 69bfe8a..0000000 --- a/pkg/usr/share/fish/completions/sha512sum.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c sha512sum -s c -l check -d 'read checksums from the FILEs and check them' -complete -c sha512sum -s h -l help -d 'Print help' -complete -c sha512sum -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sleep.fish b/pkg/usr/share/fish/completions/sleep.fish deleted file mode 100644 index 4c7188c..0000000 --- a/pkg/usr/share/fish/completions/sleep.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c sleep -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/swaplabel.fish b/pkg/usr/share/fish/completions/swaplabel.fish deleted file mode 100644 index 9944a20..0000000 --- a/pkg/usr/share/fish/completions/swaplabel.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c swaplabel -s L -s l -l label -d 'set the label' -r -complete -c swaplabel -s h -l help -d 'Print help' -complete -c swaplabel -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/swapoff.fish b/pkg/usr/share/fish/completions/swapoff.fish deleted file mode 100644 index 21f057a..0000000 --- a/pkg/usr/share/fish/completions/swapoff.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c swapoff -s a -l all -d 'Disable swapping on all known swap devices and files as found in /etc/fstab.' -complete -c swapoff -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c swapoff -s h -l help -d 'Print help' -complete -c swapoff -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/sync.fish b/pkg/usr/share/fish/completions/sync.fish deleted file mode 100644 index 95c6d49..0000000 --- a/pkg/usr/share/fish/completions/sync.fish +++ /dev/null @@ -1,4 +0,0 @@ -complete -c sync -s d -l data -d 'sync only file data, no unneeded metadata' -complete -c sync -s f -l file-system -d 'sync the file systems that contain the files' -complete -c sync -s h -l help -d 'Print help' -complete -c sync -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/true.fish b/pkg/usr/share/fish/completions/true.fish deleted file mode 100644 index e9d9bf8..0000000 --- a/pkg/usr/share/fish/completions/true.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c true -s h -l help -d 'Print help (see more with \'--help\')' diff --git a/pkg/usr/share/fish/completions/umount.fish b/pkg/usr/share/fish/completions/umount.fish deleted file mode 100644 index 0b7a6a4..0000000 --- a/pkg/usr/share/fish/completions/umount.fish +++ /dev/null @@ -1,8 +0,0 @@ -complete -c umount -s t -l types -d 'Indicate that the actions should only be taken on filesystems of the specified type.' -r -complete -c umount -s a -l all -d 'All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.' -complete -c umount -s f -l force -d 'Force an unmount (in case of an unreachable NFS system).' -complete -c umount -s l -l lazy -d 'Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.' -complete -c umount -s n -d 'Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.' -complete -c umount -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c umount -s h -l help -d 'Print help (see more with \'--help\')' -complete -c umount -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/unlink.fish b/pkg/usr/share/fish/completions/unlink.fish deleted file mode 100644 index 4077f88..0000000 --- a/pkg/usr/share/fish/completions/unlink.fish +++ /dev/null @@ -1,3 +0,0 @@ -complete -c unlink -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c unlink -s h -l help -d 'Print help' -complete -c unlink -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/utilbox.fish b/pkg/usr/share/fish/completions/utilbox.fish deleted file mode 100644 index cb5edcd..0000000 --- a/pkg/usr/share/fish/completions/utilbox.fish +++ /dev/null @@ -1,79 +0,0 @@ -complete -c utilbox -n "__fish_use_subcommand" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_use_subcommand" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_use_subcommand" -f -a "bootstrap" -d 'Install shitbox into the filesystem' -complete -c utilbox -n "__fish_use_subcommand" -f -a "clear" -d 'clear the terminal\'s screen' -complete -c utilbox -n "__fish_use_subcommand" -f -a "mountpoint" -d 'see if a directory or file is a mountpoint' -complete -c utilbox -n "__fish_use_subcommand" -f -a "swaplabel" -d 'set the label of a swap filesystem' -complete -c utilbox -n "__fish_use_subcommand" -f -a "swapoff" -d 'disable devices and files for paging and swapping' -complete -c utilbox -n "__fish_use_subcommand" -f -a "umount" -d 'unmount filesystems' -complete -c utilbox -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s p -l prefix -d 'The directory path under which to install' -r -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s u -l usr -d 'Use /usr' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "all" -d 'Install everything' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "links" -d 'Install links for each applet' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "manpages" -d 'Install Unix man pages' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "completions" -d 'Install shell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s a -l all -d 'Install completions for all supported shells' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s b -l bash -d 'Bash shell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s f -l fish -d 'Fish shell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s n -l nu -d 'Nushell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s p -l pwsh -d 'PowerShell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s z -l zsh -d 'Zshell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from all" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from links" -s s -l soft -d 'Install soft links instead of hardlinks' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from links" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from links" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from manpages" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from manpages" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s a -l all -d 'Install completions for all supported shells' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s b -l bash -d 'Bash shell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s f -l fish -d 'Fish shell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s n -l nu -d 'Nushell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s p -l pwsh -d 'PowerShell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s z -l zsh -d 'Zshell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from completions" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "all" -d 'Install everything' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "links" -d 'Install links for each applet' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "manpages" -d 'Install Unix man pages' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "completions" -d 'Install shell completions' -complete -c utilbox -n "__fish_seen_subcommand_from bootstrap; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c utilbox -n "__fish_seen_subcommand_from clear" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from clear" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from mountpoint" -s d -l fs-devno -d 'Show the major/minor numbers of the device that is mounted on the given directory.' -complete -c utilbox -n "__fish_seen_subcommand_from mountpoint" -s x -l devno -d 'Show the major/minor numbers of the given blockdevice on standard output.' -complete -c utilbox -n "__fish_seen_subcommand_from mountpoint" -s q -l quiet -d 'Be quiet - don’t print anything.' -complete -c utilbox -n "__fish_seen_subcommand_from mountpoint" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c utilbox -n "__fish_seen_subcommand_from mountpoint" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from swaplabel" -s L -s l -l label -d 'set the label' -r -complete -c utilbox -n "__fish_seen_subcommand_from swaplabel" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from swaplabel" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from swapoff" -s a -l all -d 'Disable swapping on all known swap devices and files as found in /etc/fstab.' -complete -c utilbox -n "__fish_seen_subcommand_from swapoff" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c utilbox -n "__fish_seen_subcommand_from swapoff" -s h -l help -d 'Print help' -complete -c utilbox -n "__fish_seen_subcommand_from swapoff" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s t -l types -d 'Indicate that the actions should only be taken on filesystems of the specified type.' -r -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s a -l all -d 'All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s f -l force -d 'Force an unmount (in case of an unreachable NFS system).' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s l -l lazy -d 'Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s n -d 'Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s v -l verbose -d 'output a diagnostic for every file processed' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s h -l help -d 'Print help (see more with \'--help\')' -complete -c utilbox -n "__fish_seen_subcommand_from umount" -s V -l version -d 'Print version' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "bootstrap" -d 'Install shitbox into the filesystem' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "clear" -d 'clear the terminal\'s screen' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "mountpoint" -d 'see if a directory or file is a mountpoint' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "swaplabel" -d 'set the label of a swap filesystem' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "swapoff" -d 'disable devices and files for paging and swapping' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "umount" -d 'unmount filesystems' -complete -c utilbox -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from clear; and not __fish_seen_subcommand_from mountpoint; and not __fish_seen_subcommand_from swaplabel; and not __fish_seen_subcommand_from swapoff; and not __fish_seen_subcommand_from umount; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c utilbox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "all" -d 'Install everything' -complete -c utilbox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "links" -d 'Install links for each applet' -complete -c utilbox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "manpages" -d 'Install Unix man pages' -complete -c utilbox -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from bootstrap; and not __fish_seen_subcommand_from all; and not __fish_seen_subcommand_from links; and not __fish_seen_subcommand_from manpages; and not __fish_seen_subcommand_from completions" -f -a "completions" -d 'Install shell completions' diff --git a/pkg/usr/share/fish/completions/wc.fish b/pkg/usr/share/fish/completions/wc.fish deleted file mode 100644 index 4fa8023..0000000 --- a/pkg/usr/share/fish/completions/wc.fish +++ /dev/null @@ -1,7 +0,0 @@ -complete -c wc -s c -l bytes -d 'Print the byte counts' -complete -c wc -s m -l chars -d 'Print the character counts' -complete -c wc -s l -l lines -d 'Print the line counts' -complete -c wc -s L -l max-line-length -d 'Print the maximum display width' -complete -c wc -s w -l words -d 'Print the word counts' -complete -c wc -s h -l help -d 'Print help' -complete -c wc -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/which.fish b/pkg/usr/share/fish/completions/which.fish deleted file mode 100644 index dfdf215..0000000 --- a/pkg/usr/share/fish/completions/which.fish +++ /dev/null @@ -1,2 +0,0 @@ -complete -c which -s h -l help -d 'Print help' -complete -c which -s V -l version -d 'Print version' diff --git a/pkg/usr/share/fish/completions/whoami.fish b/pkg/usr/share/fish/completions/whoami.fish deleted file mode 100644 index 7edad52..0000000 --- a/pkg/usr/share/fish/completions/whoami.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c whoami -s h -l help -d 'Print help' diff --git a/pkg/usr/share/fish/completions/yes.fish b/pkg/usr/share/fish/completions/yes.fish deleted file mode 100644 index dec468e..0000000 --- a/pkg/usr/share/fish/completions/yes.fish +++ /dev/null @@ -1 +0,0 @@ -complete -c yes -s h -l help -d 'Print help' diff --git a/pkg/usr/share/man/man1/b2sum.1 b/pkg/usr/share/man/man1/b2sum.1 deleted file mode 100644 index b2dde43..0000000 --- a/pkg/usr/share/man/man1/b2sum.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH b2sum 1 "b2sum 0.1.0" -.SH NAME -b2sum \- compute and check MD5 message digest -.SH SYNOPSIS -\fBb2sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-l\fR|\fB\-\-length\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check MD5 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-l\fR, \fB\-\-length\fR [default: 512] -digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8 -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/base32.1 b/pkg/usr/share/man/man1/base32.1 deleted file mode 100644 index dc2b27a..0000000 --- a/pkg/usr/share/man/man1/base32.1 +++ /dev/null @@ -1,38 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH base32 1 "base32 " -.SH NAME -base32 \- Base32 encode/decode data and print to standard output -.SH SYNOPSIS -\fBbase32\fR [\fB\-d\fR|\fB\-\-decode\fR] [\fB\-i\fR|\fB\-\-ignore\-space\fR] [\fB\-w\fR|\fB\-\-wrap\fR] [\fB\-c\fR|\fB\-\-color\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] -.SH DESCRIPTION -Base32 encode/decode data and print to standard output -.SH OPTIONS -.TP -\fB\-d\fR, \fB\-\-decode\fR -Decode rather than encode -.TP -\fB\-i\fR, \fB\-\-ignore\-space\fR -Ignore whitespace when decoding -.TP -\fB\-w\fR, \fB\-\-wrap\fR [default: 76] -Wrap encoded lines after n characters -.TP -\fB\-c\fR, \fB\-\-color\fR - -.br -[\fIpossible values: \fRalways, ansi, auto, never] -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-q\fR, \fB\-\-quiet\fR -Do not display header, even with multiple files -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -[\fIFILE\fR] - -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/base64.1 b/pkg/usr/share/man/man1/base64.1 deleted file mode 100644 index 22d3f4c..0000000 --- a/pkg/usr/share/man/man1/base64.1 +++ /dev/null @@ -1,38 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH base64 1 "base64 " -.SH NAME -base64 \- Base64 encode/decode data and print to standard output -.SH SYNOPSIS -\fBbase64\fR [\fB\-d\fR|\fB\-\-decode\fR] [\fB\-i\fR|\fB\-\-ignore\-space\fR] [\fB\-w\fR|\fB\-\-wrap\fR] [\fB\-c\fR|\fB\-\-color\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] -.SH DESCRIPTION -Base64 encode/decode data and print to standard output -.SH OPTIONS -.TP -\fB\-d\fR, \fB\-\-decode\fR -Decode rather than encode -.TP -\fB\-i\fR, \fB\-\-ignore\-space\fR -Ignore whitespace when decoding -.TP -\fB\-w\fR, \fB\-\-wrap\fR [default: 76] -Wrap encoded lines after n characters -.TP -\fB\-c\fR, \fB\-\-color\fR - -.br -[\fIpossible values: \fRalways, ansi, auto, never] -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-q\fR, \fB\-\-quiet\fR -Do not display header, even with multiple files -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -[\fIFILE\fR] - -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/basename.1 b/pkg/usr/share/man/man1/basename.1 deleted file mode 100644 index 0aaa92f..0000000 --- a/pkg/usr/share/man/man1/basename.1 +++ /dev/null @@ -1,22 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH basename 1 "basename " -.SH NAME -basename \- Print NAME with any leading directory components removed. -.SH SYNOPSIS -\fBbasename\fR [\fB\-h\fR|\fB\-\-help\fR] <\fINAME\fR> [\fISUFFIX\fR] -.SH DESCRIPTION -Print NAME with any leading directory components removed. -If specified, also remove a trailing SUFFIX. -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -<\fINAME\fR> -the filename to process -.TP -[\fISUFFIX\fR] -the suffix to be removed -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/chgrp.1 b/pkg/usr/share/man/man1/chgrp.1 deleted file mode 100644 index e5bd82b..0000000 --- a/pkg/usr/share/man/man1/chgrp.1 +++ /dev/null @@ -1,47 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH chgrp 1 "chgrp 0.1.0" -.SH NAME -chgrp \- change group ownership -.SH SYNOPSIS -\fBchgrp\fR [\fB\-c\fR|\fB\-\-changes\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-R\fR|\fB\-\-recursive\fR] [\fB\-H \fR] [\fB\-L \fR] [\fB\-P \fR] [\fB\-s\fR|\fB\-\-same\-filesystem\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIGROUP\fR> <\fIFILE\fR> -.SH DESCRIPTION -change group ownership -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-changes\fR -report only when a change is made -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-R\fR, \fB\-\-recursive\fR -operate on files and directories recursively -.TP -\fB\-H\fR -if a command line argument is a symbolic link to a directory, traverse it -.TP -\fB\-L\fR -traverse every symbolic link encountered in a directory -.TP -\fB\-P\fR -do not traverse any symbolic links (default) -.TP -\fB\-s\fR, \fB\-\-same\-filesystem\fR -do not cross filesystem boundaries (requires recursive) -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIGROUP\fR> - -.TP -<\fIFILE\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/chmod.1 b/pkg/usr/share/man/man1/chmod.1 deleted file mode 100644 index bc74980..0000000 --- a/pkg/usr/share/man/man1/chmod.1 +++ /dev/null @@ -1,38 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH chmod 1 "chmod 0.1.0" -.SH NAME -chmod \- change file mode bits -.SH SYNOPSIS -\fBchmod\fR [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-c\fR|\fB\-\-changes\fR] [\fB\-f\fR|\fB\-\-silent\fR] [\fB\-R\fR|\fB\-\-recursive\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIMODE\fR> <\fIFILE\fR> -.SH DESCRIPTION -change file mode bits -.SH OPTIONS -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-c\fR, \fB\-\-changes\fR -report only when a change is made -.TP -\fB\-f\fR, \fB\-\-silent\fR -suppress most error messages -.TP -\fB\-R\fR, \fB\-\-recursive\fR -operate on files and directories recursively -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIMODE\fR> - -.TP -<\fIFILE\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/chown.1 b/pkg/usr/share/man/man1/chown.1 deleted file mode 100644 index 80a5f46..0000000 --- a/pkg/usr/share/man/man1/chown.1 +++ /dev/null @@ -1,47 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH chown 1 "chown 0.1.0" -.SH NAME -chown \- change file owner and group -.SH SYNOPSIS -\fBchown\fR [\fB\-c\fR|\fB\-\-changes\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-R\fR|\fB\-\-recursive\fR] [\fB\-H \fR] [\fB\-L \fR] [\fB\-P \fR] [\fB\-s\fR|\fB\-\-same\-filesystem\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIOWNER[:GROUP]\fR> <\fIFILE\fR> -.SH DESCRIPTION -change file owner and group -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-changes\fR -report only when a change is made -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-R\fR, \fB\-\-recursive\fR -operate on files and directories recursively -.TP -\fB\-H\fR -if a command line argument is a symbolic link to a directory, traverse it -.TP -\fB\-L\fR -traverse every symbolic link encountered in a directory -.TP -\fB\-P\fR -do not traverse any symbolic links (default) -.TP -\fB\-s\fR, \fB\-\-same\-filesystem\fR -do not cross filesystem boundaries (requires recursive) -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIOWNER[:GROUP]\fR> - -.TP -<\fIFILE\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/chroot.1 b/pkg/usr/share/man/man1/chroot.1 deleted file mode 100644 index cc57cea..0000000 --- a/pkg/usr/share/man/man1/chroot.1 +++ /dev/null @@ -1,32 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH chroot 1 "chroot 0.1.0" -.SH NAME -chroot \- run command or interactive shell with special root directory -.SH SYNOPSIS -\fBchroot\fR [\fB\-d\fR|\fB\-\-directory\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fINEWROOT\fR> [\fICOMMAND\fR] [\fIARG\fR] -.SH DESCRIPTION -run command or interactive shell with special root directory -.SH OPTIONS -.TP -\fB\-d\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR -change to this directory after performing the chroot instead of \*(Aq/\*(Aq -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fINEWROOT\fR> - -.TP -[\fICOMMAND\fR] - -.TP -[\fIARG\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/clear.1 b/pkg/usr/share/man/man1/clear.1 deleted file mode 100644 index 2eeb0ac..0000000 --- a/pkg/usr/share/man/man1/clear.1 +++ /dev/null @@ -1,20 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH clear 1 "clear 0.1.0" -.SH NAME -clear \- clear the terminal\*(Aqs screen -.SH SYNOPSIS -\fBclear\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] -.SH DESCRIPTION -clear the terminal\*(Aqs screen -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/corebox-bootstrap.1 b/pkg/usr/share/man/man1/corebox-bootstrap.1 deleted file mode 100644 index 891b731..0000000 --- a/pkg/usr/share/man/man1/corebox-bootstrap.1 +++ /dev/null @@ -1,46 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH bootstrap 1 "bootstrap 0.1.0" -.SH NAME -bootstrap \- Install shitbox into the filesystem -.SH SYNOPSIS -\fBbootstrap\fR [\fB\-p\fR|\fB\-\-prefix\fR] [\fB\-u\fR|\fB\-\-usr\fR] [\fB\-s\fR|\fB\-\-soft\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIsubcommands\fR] -.SH DESCRIPTION -Install symlinks, manpages and shell completions -.SH OPTIONS -.TP -\fB\-p\fR, \fB\-\-prefix\fR [default: /] -The directory path under which to install -.TP -\fB\-u\fR, \fB\-\-usr\fR -Split the installation so that some applets go into /bin | /sbin -while others are placed into /usr/bin | /usr/sbin -.TP -\fB\-s\fR, \fB\-\-soft\fR -Install soft links instead of hardlinks -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH SUBCOMMANDS -.TP -bootstrap\-all(1) -Install everything -.TP -bootstrap\-links(1) -Install links for each applet -.TP -bootstrap\-manpages(1) -Install Unix man pages -.TP -bootstrap\-completions(1) -Install shell completions -.TP -bootstrap\-help(1) -Print this message or the help of the given subcommand(s) -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/corebox.1 b/pkg/usr/share/man/man1/corebox.1 deleted file mode 100644 index 6687761..0000000 --- a/pkg/usr/share/man/man1/corebox.1 +++ /dev/null @@ -1,145 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH corebox 1 "corebox 0.1.0" -.SH NAME -corebox \- The box store multitool of embedded Linux -.SH SYNOPSIS -\fBcorebox\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIapplet\fR] -.SH DESCRIPTION -The box store multitool of embedded Linux -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH APPLETS -.TP -corebox\-base32(1) -Base32 encode/decode data and print to standard output -.TP -corebox\-base64(1) -Base64 encode/decode data and print to standard output -.TP -corebox\-basename(1) -Print NAME with any leading directory components removed. -.TP -corebox\-bootstrap(1) -Install shitbox into the filesystem -.TP -corebox\-chgrp(1) -change group ownership -.TP -corebox\-chmod(1) -change file mode bits -.TP -corebox\-chown(1) -change file owner and group -.TP -corebox\-chroot(1) -run command or interactive shell with special root directory -.TP -corebox\-cut(1) -cut out selected fields of each line of a file -.TP -corebox\-dirname(1) -strip last component from file name -.TP -corebox\-echo(1) -Display a line of text -.TP -corebox\-false(1) -Does nothing unsuccessfully -.TP -corebox\-factor(1) -factor numbers -.TP -corebox\-fold(1) -Wrap each input line to fit in specified width -.TP -corebox\-groups(1) -display current group names -.TP -corebox\-head(1) -Display first lines of a file -.TP -corebox\-hostid(1) -print the numeric identifier for the current host -.TP -corebox\-hostname(1) -Prints the name of the current host. The super\-user can set the host name by supplying an argument. -.TP -corebox\-link(1) -call the link function to create a link to a file -.TP -corebox\-ln(1) -make links between files -.TP -corebox\-logname(1) -print user\*(Aqs login name -.TP -corebox\-mkfifo(1) -make FIFO special files -.TP -corebox\-mknod(1) -make block or character special files -.TP -corebox\-mktemp(1) -create a unique temporary file -.TP -corebox\-nologin(1) -Denies a user account login ability -.TP -corebox\-nproc(1) -Print the number of processing units available -.TP -corebox\-printenv(1) -print all or part of environment -.TP -corebox\-pwd(1) -return working directory name -.TP -corebox\-readlink(1) -Print symbolic link target or canonical file name -.TP -corebox\-realpath(1) -return resolved physical path -.TP -corebox\-rev(1) -reverse lines characterwise -.TP -corebox\-rm(1) -remove files or directories -.TP -corebox\-rmdir(1) -remove directories -.TP -corebox\-sleep(1) -Suspend execution for an interval of time -.TP -corebox\-sync(1) -force completion of pending disk writes (flush cache) -.TP -corebox\-true(1) -Does nothing successfully -.TP -corebox\-unlink(1) -call the unlink function to remove the specified file -.TP -corebox\-wc(1) -Print newline, word, and byte counts for each file -.TP -corebox\-which(1) -Write the full path of COMMAND(s) to standard output -.TP -corebox\-whoami(1) -print effective user name -.TP -corebox\-yes(1) -output a string repeatedly until killed -.TP -corebox\-help(1) -Print this message or the help of the given subcommand(s) -.SH VERSION -v0.1.0 diff --git a/pkg/usr/share/man/man1/cut.1 b/pkg/usr/share/man/man1/cut.1 deleted file mode 100644 index 409cfe3..0000000 --- a/pkg/usr/share/man/man1/cut.1 +++ /dev/null @@ -1,41 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH cut 1 "cut 0.1.0" -.SH NAME -cut \- cut out selected fields of each line of a file -.SH SYNOPSIS -\fBcut\fR [\fB\-b\fR|\fB\-\-bytes\fR] [\fB\-c\fR|\fB\-\-characters\fR] [\fB\-f\fR|\fB\-\-fields\fR] [\fB\-d\fR|\fB\-\-delimiter\fR] [\fB\-n \fR] [\fB\-s\fR|\fB\-\-only\-delimited\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -cut out selected fields of each line of a file -.SH OPTIONS -.TP -\fB\-b\fR, \fB\-\-bytes\fR=\fILIST\fR -select only these bytes -.TP -\fB\-c\fR, \fB\-\-characters\fR=\fILIST\fR -select only these characters -.TP -\fB\-f\fR, \fB\-\-fields\fR=\fILIST\fR -select only these fields -.TP -\fB\-d\fR, \fB\-\-delimiter\fR=\fIDELIM\fR -use DELIM instead of TAB for field delimiter -.TP -\fB\-n\fR -ignored -.TP -\fB\-s\fR, \fB\-\-only\-delimited\fR - -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/dirname.1 b/pkg/usr/share/man/man1/dirname.1 deleted file mode 100644 index efe9099..0000000 --- a/pkg/usr/share/man/man1/dirname.1 +++ /dev/null @@ -1,19 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH dirname 1 "dirname " -.SH NAME -dirname \- strip last component from file name -.SH SYNOPSIS -\fBdirname\fR [\fB\-z\fR|\fB\-\-zero\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIname\fR> -.SH DESCRIPTION -strip last component from file name -.SH OPTIONS -.TP -\fB\-z\fR, \fB\-\-zero\fR -end each output line with NUL, not newline -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -<\fIname\fR> - diff --git a/pkg/usr/share/man/man1/echo.1 b/pkg/usr/share/man/man1/echo.1 deleted file mode 100644 index 8629b06..0000000 --- a/pkg/usr/share/man/man1/echo.1 +++ /dev/null @@ -1,21 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH echo 1 "echo " -.SH NAME -echo \- Display a line of text -.SH SYNOPSIS -\fBecho\fR [\fB\-n \fR] [\fB\-h\fR|\fB\-\-help\fR] [\fISTRING\fR] -.SH DESCRIPTION -Echo the STRING(s) to standard output -.SH OPTIONS -.TP -\fB\-n\fR -Do not output a trailing newline -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -[\fISTRING\fR] - -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/factor.1 b/pkg/usr/share/man/man1/factor.1 deleted file mode 100644 index af09976..0000000 --- a/pkg/usr/share/man/man1/factor.1 +++ /dev/null @@ -1,19 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH factor 1 "factor " -.SH NAME -factor \- factor numbers -.SH SYNOPSIS -\fBfactor\fR [\fB\-h\fR|\fB\-\-help\fR] [\fInumber\fR] -.SH DESCRIPTION -factor numbers -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -[\fInumber\fR] -the numbers to factor -.SH EXTRA -Print the prime factors of each specified integer NUMBER. If none are -specified on the command line, read them from standard input. diff --git a/pkg/usr/share/man/man1/false.1 b/pkg/usr/share/man/man1/false.1 deleted file mode 100644 index e41592d..0000000 --- a/pkg/usr/share/man/man1/false.1 +++ /dev/null @@ -1,15 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH false 1 "false " -.SH NAME -false \- Does nothing unsuccessfully -.SH SYNOPSIS -\fBfalse\fR [\fB\-h\fR|\fB\-\-help\fR] -.SH DESCRIPTION -Exit with a status code indicating failure -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/fold.1 b/pkg/usr/share/man/man1/fold.1 deleted file mode 100644 index c3b43cb..0000000 --- a/pkg/usr/share/man/man1/fold.1 +++ /dev/null @@ -1,32 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH fold 1 "fold " -.SH NAME -fold \- Wrap each input line to fit in specified width -.SH SYNOPSIS -\fBfold\fR [\fB\-b\fR|\fB\-\-bytes\fR] [\fB\-s\fR|\fB\-\-spaces\fR] [\fB\-o\fR|\fB\-\-optimal\fR] [\fB\-w\fR|\fB\-\-width\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] -.SH DESCRIPTION -Wrap each input line to fit in specified width -.SH OPTIONS -.TP -\fB\-b\fR, \fB\-\-bytes\fR -Count bytes rather than columns -.TP -\fB\-s\fR, \fB\-\-spaces\fR -Break at spaces -.TP -\fB\-o\fR, \fB\-\-optimal\fR -Uses a look ahad algorithm to avoid unnecessarily short or long lines -.TP -\fB\-w\fR, \fB\-\-width\fR [default: 80] -Use width columns -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -[\fIFILE\fR] -The input file to use -.SH EXTRA -With no FILE, or when FILE is \-, read standard input -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/groups.1 b/pkg/usr/share/man/man1/groups.1 deleted file mode 100644 index eda60c4..0000000 --- a/pkg/usr/share/man/man1/groups.1 +++ /dev/null @@ -1,25 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH groups 1 "groups 0.1.0" -.SH NAME -groups \- display current group names -.SH SYNOPSIS -\fBgroups\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIuser\fR] -.SH DESCRIPTION -display current group names -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIuser\fR] - -.SH EXTRA -The groups command displays the current group names or ID values. If the value does not have a corresponding entry in /etc/group, the value will be displayed as the numerical group value. The optional user parameter will display the groups for the named user. -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/hashbox-bootstrap.1 b/pkg/usr/share/man/man1/hashbox-bootstrap.1 deleted file mode 100644 index 891b731..0000000 --- a/pkg/usr/share/man/man1/hashbox-bootstrap.1 +++ /dev/null @@ -1,46 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH bootstrap 1 "bootstrap 0.1.0" -.SH NAME -bootstrap \- Install shitbox into the filesystem -.SH SYNOPSIS -\fBbootstrap\fR [\fB\-p\fR|\fB\-\-prefix\fR] [\fB\-u\fR|\fB\-\-usr\fR] [\fB\-s\fR|\fB\-\-soft\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIsubcommands\fR] -.SH DESCRIPTION -Install symlinks, manpages and shell completions -.SH OPTIONS -.TP -\fB\-p\fR, \fB\-\-prefix\fR [default: /] -The directory path under which to install -.TP -\fB\-u\fR, \fB\-\-usr\fR -Split the installation so that some applets go into /bin | /sbin -while others are placed into /usr/bin | /usr/sbin -.TP -\fB\-s\fR, \fB\-\-soft\fR -Install soft links instead of hardlinks -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH SUBCOMMANDS -.TP -bootstrap\-all(1) -Install everything -.TP -bootstrap\-links(1) -Install links for each applet -.TP -bootstrap\-manpages(1) -Install Unix man pages -.TP -bootstrap\-completions(1) -Install shell completions -.TP -bootstrap\-help(1) -Print this message or the help of the given subcommand(s) -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/head.1 b/pkg/usr/share/man/man1/head.1 deleted file mode 100644 index 49567af..0000000 --- a/pkg/usr/share/man/man1/head.1 +++ /dev/null @@ -1,38 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH head 1 "head " -.SH NAME -head \- Display first lines of a file -.SH SYNOPSIS -\fBhead\fR [\fB\-c\fR|\fB\-\-bytes\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-n\fR|\fB\-\-lines\fR] [\fB\-C\fR|\fB\-\-color\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILES\fR] -.SH DESCRIPTION -Print the first 10 lines of each FILE to standard output. -With more than one FILE, precede each with a header giving the file name. -.PP -With no FILE, or when FILE is \-, read standard input. -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-bytes\fR -Count bytes instead of lines -.TP -\fB\-q\fR, \fB\-\-quiet\fR -Disable printing a header. Overrides \-c -.TP -\fB\-v\fR, \fB\-\-verbose\fR -Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file. -.TP -\fB\-n\fR, \fB\-\-lines\fR -Count n number of lines (or bytes if \-c is specified). -.TP -\fB\-C\fR, \fB\-\-color\fR - -.br -[\fIpossible values: \fRalways, ansi, auto, never] -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -[\fIFILES\fR] [default: \-] -The input file to use -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/hostid.1 b/pkg/usr/share/man/man1/hostid.1 deleted file mode 100644 index d5c3538..0000000 --- a/pkg/usr/share/man/man1/hostid.1 +++ /dev/null @@ -1,20 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH hostid 1 "hostid 0.1.0" -.SH NAME -hostid \- print the numeric identifier for the current host -.SH SYNOPSIS -\fBhostid\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] -.SH DESCRIPTION -print the numeric identifier for the current host -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/hostname.1 b/pkg/usr/share/man/man1/hostname.1 deleted file mode 100644 index 25ebd3a..0000000 --- a/pkg/usr/share/man/man1/hostname.1 +++ /dev/null @@ -1,21 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH hostname 1 "hostname " -.SH NAME -hostname \- Prints the name of the current host. The super\-user can set the host name by supplying an argument. -.SH SYNOPSIS -\fBhostname\fR [\fB\-s\fR|\fB\-\-strip\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fINAME\fR] -.SH DESCRIPTION -Prints the name of the current host. The super\-user can set the host name by supplying an argument. -.SH OPTIONS -.TP -\fB\-s\fR, \fB\-\-strip\fR -Removes any domain information from the printed name. -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -[\fINAME\fR] -name to set -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/link.1 b/pkg/usr/share/man/man1/link.1 deleted file mode 100644 index 98e8ae5..0000000 --- a/pkg/usr/share/man/man1/link.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH link 1 "link 0.1.0" -.SH NAME -link \- call the link function to create a link to a file -.SH SYNOPSIS -\fBlink\fR [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIfile1\fR> <\fIfile2\fR> -.SH DESCRIPTION -call the link function to create a link to a file -.SH OPTIONS -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIfile1\fR> - -.TP -<\fIfile2\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/ln.1 b/pkg/usr/share/man/man1/ln.1 deleted file mode 100644 index 7251ee9..0000000 --- a/pkg/usr/share/man/man1/ln.1 +++ /dev/null @@ -1,41 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH ln 1 "ln 0.1.0" -.SH NAME -ln \- make links between files -.SH SYNOPSIS -\fBln\fR [\fB\-f\fR|\fB\-\-force\fR] [\fB\-s\fR|\fB\-\-symbolic\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-L \fR] [\fB\-P \fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsource\fR> <\fIdest\fR> -.SH DESCRIPTION -make links between files -.SH OPTIONS -.TP -\fB\-f\fR, \fB\-\-force\fR -remove existing destination files -.TP -\fB\-s\fR, \fB\-\-symbolic\fR -make symbolic links instead of hard links -.TP -\fB\-v\fR, \fB\-\-verbose\fR -print name of each linked file -.TP -\fB\-L\fR -For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link. -.TP -\fB\-P\fR -For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself. -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIsource\fR> - -.TP -<\fIdest\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/logname.1 b/pkg/usr/share/man/man1/logname.1 deleted file mode 100644 index 1ccf83a..0000000 --- a/pkg/usr/share/man/man1/logname.1 +++ /dev/null @@ -1,20 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH logname 1 "logname 0.1.0" -.SH NAME -logname \- print user\*(Aqs login name -.SH SYNOPSIS -\fBlogname\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] -.SH DESCRIPTION -print user\*(Aqs login name -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/md5sum.1 b/pkg/usr/share/man/man1/md5sum.1 deleted file mode 100644 index b5b953e..0000000 --- a/pkg/usr/share/man/man1/md5sum.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH md5sum 1 "md5sum 0.1.0" -.SH NAME -md5sum \- compute and check MD5 message digest -.SH SYNOPSIS -\fBmd5sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check MD5 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/mkfifo.1 b/pkg/usr/share/man/man1/mkfifo.1 deleted file mode 100644 index 06dfbd7..0000000 --- a/pkg/usr/share/man/man1/mkfifo.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH mkfifo 1 "mkfifo 0.1.0" -.SH NAME -mkfifo \- make FIFO special files -.SH SYNOPSIS -\fBmkfifo\fR [\fB\-m\fR|\fB\-\-mode\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIfile\fR> -.SH DESCRIPTION -make FIFO special files -.SH OPTIONS -.TP -\fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR -Set the file permission bits of the newly\-created FIFO to the specified mode value. The mode option\-argument shall be the same as the mode operand defined for the chmod utility. In the symbolic_mode strings, the op characters \*(Aq+\*(Aq and \*(Aq\-\*(Aq shall be interpreted relative to an assumed initial mode of a=rw. -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIfile\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/mknod.1 b/pkg/usr/share/man/man1/mknod.1 deleted file mode 100644 index bfdc33d..0000000 --- a/pkg/usr/share/man/man1/mknod.1 +++ /dev/null @@ -1,40 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH mknod 1 "mknod 0.1.0" -.SH NAME -mknod \- make block or character special files -.SH SYNOPSIS -\fBmknod\fR [\fB\-m\fR|\fB\-\-mode\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fINAME\fR> <\fITYPE\fR> [\fIMAJOR\fR] [\fIMINOR\fR] -.SH DESCRIPTION -make block or character special files -.SH OPTIONS -.TP -\fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR -set file permission bits to MODE, not a=rw \- umask -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fINAME\fR> - -.TP -<\fITYPE\fR> - -.br -[\fIpossible values: \fRb, c, p] -.TP -[\fIMAJOR\fR] - -.TP -[\fIMINOR\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/mktemp.1 b/pkg/usr/share/man/man1/mktemp.1 deleted file mode 100644 index dd2cedc..0000000 --- a/pkg/usr/share/man/man1/mktemp.1 +++ /dev/null @@ -1,32 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH mktemp 1 "mktemp 0.1.0" -.SH NAME -mktemp \- create a unique temporary file -.SH SYNOPSIS -\fBmktemp\fR [\fB\-d\fR|\fB\-\-directory\fR] [\fB\-p\fR|\fB\-\-tmpdir\fR] [\fB\-t\fR|\fB\-\-template\fR] [\fB\-u\fR|\fB\-\-dryrun\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] -.SH DESCRIPTION -create a unique temporary file -.SH OPTIONS -.TP -\fB\-d\fR, \fB\-\-directory\fR -create a directory instead of a file -.TP -\fB\-p\fR, \fB\-\-tmpdir\fR -specify the directory to create temporary files in -.TP -\fB\-t\fR, \fB\-\-template\fR -specify a prefix to append to the created files -.TP -\fB\-u\fR, \fB\-\-dryrun\fR -immediately remove created files and directories -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/mountpoint.1 b/pkg/usr/share/man/man1/mountpoint.1 deleted file mode 100644 index 4bfcecc..0000000 --- a/pkg/usr/share/man/man1/mountpoint.1 +++ /dev/null @@ -1,35 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH mountpoint 1 "mountpoint " -.SH NAME -mountpoint \- see if a directory or file is a mountpoint -.SH SYNOPSIS -\fBmountpoint\fR [\fB\-d\fR|\fB\-\-fs\-devno\fR] [\fB\-x\fR|\fB\-\-devno\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIfile\fR> -.SH DESCRIPTION -see if a directory or file is a mountpoint -.SH OPTIONS -.TP -\fB\-d\fR, \fB\-\-fs\-devno\fR -Show the major/minor numbers of the device that is mounted on the given directory. -.TP -\fB\-x\fR, \fB\-\-devno\fR -Show the major/minor numbers of the given blockdevice on standard output. -.TP -\fB\-q\fR, \fB\-\-quiet\fR -Be quiet \- don’t print anything. -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -<\fIfile\fR> - -.SH EXTRA -EXIT STATUS - 0 - success: the directory is a mountpoint, or device is a blockdevice on \-\-devno - 1 - failure: incorrect invocation, permissions or system error - 32 - failure: the directory is not a mountpoint, or device is not a block device on \-\-devno -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/nologin.1 b/pkg/usr/share/man/man1/nologin.1 deleted file mode 100644 index 1c09a54..0000000 --- a/pkg/usr/share/man/man1/nologin.1 +++ /dev/null @@ -1,15 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH nologin 1 "nologin " -.SH NAME -nologin \- Denies a user account login ability -.SH SYNOPSIS -\fBnologin\fR [\fB\-h\fR|\fB\-\-help\fR] -.SH DESCRIPTION -Denies a user account login ability -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/nproc.1 b/pkg/usr/share/man/man1/nproc.1 deleted file mode 100644 index 612f213..0000000 --- a/pkg/usr/share/man/man1/nproc.1 +++ /dev/null @@ -1,18 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH nproc 1 "nproc " -.SH NAME -nproc \- Print the number of processing units available -.SH SYNOPSIS -\fBnproc\fR [\fB\-a\fR|\fB\-\-all\fR] [\fB\-h\fR|\fB\-\-help\fR] -.SH DESCRIPTION -Print the number of processing units available -.SH OPTIONS -.TP -\fB\-a\fR, \fB\-\-all\fR -Print the number of installed processors -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/printenv.1 b/pkg/usr/share/man/man1/printenv.1 deleted file mode 100644 index cca6ff3..0000000 --- a/pkg/usr/share/man/man1/printenv.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH printenv 1 "printenv 0.1.0" -.SH NAME -printenv \- print all or part of environment -.SH SYNOPSIS -\fBprintenv\fR [\fB\-0\fR|\fB\-\-null\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIVARIABLE\fR] -.SH DESCRIPTION -print all or part of environment -.SH OPTIONS -.TP -\fB\-0\fR, \fB\-\-null\fR -end each output line with NUL, not newline -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIVARIABLE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/pwd.1 b/pkg/usr/share/man/man1/pwd.1 deleted file mode 100644 index f1d5545..0000000 --- a/pkg/usr/share/man/man1/pwd.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH pwd 1 "pwd 0.1.0" -.SH NAME -pwd \- return working directory name -.SH SYNOPSIS -\fBpwd\fR [\fB\-L\fR|\fB\-\-logical\fR] [\fB\-P\fR|\fB\-\-physical\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] -.SH DESCRIPTION -return working directory name -.SH OPTIONS -.TP -\fB\-L\fR, \fB\-\-logical\fR -use PWD from environment, even if it contains symlinks -.TP -\fB\-P\fR, \fB\-\-physical\fR -avoid all symlinks -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/readlink.1 b/pkg/usr/share/man/man1/readlink.1 deleted file mode 100644 index 4094af7..0000000 --- a/pkg/usr/share/man/man1/readlink.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH readlink 1 "readlink 0.1.0" -.SH NAME -readlink \- Print symbolic link target or canonical file name -.SH SYNOPSIS -\fBreadlink\fR [\fB\-f\fR|\fB\-\-canonicalize\fR] [\fB\-n\fR|\fB\-\-no\-newline\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIPATH\fR> -.SH DESCRIPTION -Print symbolic link target or canonical file name -.SH OPTIONS -.TP -\fB\-f\fR, \fB\-\-canonicalize\fR -Canonicalize path -.TP -\fB\-n\fR, \fB\-\-no\-newline\fR -Do not print the terminating newline. -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIPATH\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/realpath.1 b/pkg/usr/share/man/man1/realpath.1 deleted file mode 100644 index a3abb79..0000000 --- a/pkg/usr/share/man/man1/realpath.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH realpath 1 "realpath 0.1.0" -.SH NAME -realpath \- return resolved physical path -.SH SYNOPSIS -\fBrealpath\fR [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIpath\fR] -.SH DESCRIPTION -return resolved physical path -.SH OPTIONS -.TP -\fB\-q\fR, \fB\-\-quiet\fR -ignore warnings -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIpath\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/rev.1 b/pkg/usr/share/man/man1/rev.1 deleted file mode 100644 index 9f98bb4..0000000 --- a/pkg/usr/share/man/man1/rev.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH rev 1 "rev " -.SH NAME -rev \- reverse lines characterwise -.SH SYNOPSIS -\fBrev\fR [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-c\fR|\fB\-\-color\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] -.SH DESCRIPTION -reverse lines characterwise -.SH OPTIONS -.TP -\fB\-v\fR, \fB\-\-verbose\fR -Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file. -.TP -\fB\-c\fR, \fB\-\-color\fR - -.br -[\fIpossible values: \fRalways, ansi, auto, never] -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -[\fIFILE\fR] - -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/rm.1 b/pkg/usr/share/man/man1/rm.1 deleted file mode 100644 index b545feb..0000000 --- a/pkg/usr/share/man/man1/rm.1 +++ /dev/null @@ -1,46 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH rm 1 "rm 0.1.0" -.SH NAME -rm \- remove files or directories -.SH SYNOPSIS -\fBrm\fR [\fB\-i \fR] [\fB\-I \fR] [\fB\-\-interactive\fR] [\fB\-f\fR|\fB\-\-force\fR] [\fB\-R\fR|\fB\-\-recursive\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIFILE\fR> -.SH DESCRIPTION -remove files or directories -.SH OPTIONS -.TP -\fB\-i\fR -prompt before every removal -.TP -\fB\-I\fR -prompt once before removing more than three files, or when removing recursively; -less intrusive than \-i, while still giving protection against most mistakes -.TP -\fB\-\-interactive\fR=\fIWHEN\fR -when to prompt -.br - -.br -[\fIpossible values: \fRnever, once, always] -.TP -\fB\-f\fR, \fB\-\-force\fR -ignore nonexistent files and arguments, never prompt -.TP -\fB\-R\fR, \fB\-\-recursive\fR -operate on files and directories recursively -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIFILE\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/rmdir.1 b/pkg/usr/share/man/man1/rmdir.1 deleted file mode 100644 index dcf1ba7..0000000 --- a/pkg/usr/share/man/man1/rmdir.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH rmdir 1 "rmdir 0.1.0" -.SH NAME -rmdir \- remove directories -.SH SYNOPSIS -\fBrmdir\fR [\fB\-p\fR|\fB\-\-parents\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIDIRECTORY\fR> -.SH DESCRIPTION -remove directories -.SH OPTIONS -.TP -\fB\-p\fR, \fB\-\-parents\fR -remove DIRECTORY and it\*(Aqs ancestors -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIDIRECTORY\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sha1sum.1 b/pkg/usr/share/man/man1/sha1sum.1 deleted file mode 100644 index 32c30b5..0000000 --- a/pkg/usr/share/man/man1/sha1sum.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sha1sum 1 "sha1sum 0.1.0" -.SH NAME -sha1sum \- compute and check SHA1 message digest -.SH SYNOPSIS -\fBsha1sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check SHA1 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sha224sum.1 b/pkg/usr/share/man/man1/sha224sum.1 deleted file mode 100644 index fd8dc0f..0000000 --- a/pkg/usr/share/man/man1/sha224sum.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sha224sum 1 "sha224sum 0.1.0" -.SH NAME -sha224sum \- compute and check SHA1 message digest -.SH SYNOPSIS -\fBsha224sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check SHA1 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sha256sum.1 b/pkg/usr/share/man/man1/sha256sum.1 deleted file mode 100644 index 3742a94..0000000 --- a/pkg/usr/share/man/man1/sha256sum.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sha256sum 1 "sha256sum 0.1.0" -.SH NAME -sha256sum \- compute and check SHA1 message digest -.SH SYNOPSIS -\fBsha256sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check SHA1 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sha384sum.1 b/pkg/usr/share/man/man1/sha384sum.1 deleted file mode 100644 index 08ed395..0000000 --- a/pkg/usr/share/man/man1/sha384sum.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sha384sum 1 "sha384sum 0.1.0" -.SH NAME -sha384sum \- compute and check SHA1 message digest -.SH SYNOPSIS -\fBsha384sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check SHA1 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sha512sum.1 b/pkg/usr/share/man/man1/sha512sum.1 deleted file mode 100644 index 87b45af..0000000 --- a/pkg/usr/share/man/man1/sha512sum.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sha512sum 1 "sha512sum 0.1.0" -.SH NAME -sha512sum \- compute and check SHA1 message digest -.SH SYNOPSIS -\fBsha512sum\fR [\fB\-c\fR|\fB\-\-check\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -compute and check SHA1 message digest -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-check\fR -read checksums from the FILEs and check them -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sleep.1 b/pkg/usr/share/man/man1/sleep.1 deleted file mode 100644 index 2710e09..0000000 --- a/pkg/usr/share/man/man1/sleep.1 +++ /dev/null @@ -1,20 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sleep 1 "sleep " -.SH NAME -sleep \- Suspend execution for an interval of time -.SH SYNOPSIS -\fBsleep\fR [\fB\-h\fR|\fB\-\-help\fR] <\fIseconds\fR> -.SH DESCRIPTION -The sleep utility suspends execution for a minimum of the specified number of seconds. -This number must be positive and may contain a decimal fraction. -sleep is commonly used to schedule the execution of other commands -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -<\fIseconds\fR> -The number of seconds to sleep -.SH AUTHORS - diff --git a/pkg/usr/share/man/man1/swaplabel.1 b/pkg/usr/share/man/man1/swaplabel.1 deleted file mode 100644 index 424a2e6..0000000 --- a/pkg/usr/share/man/man1/swaplabel.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH swaplabel 1 "swaplabel 0.1.0" -.SH NAME -swaplabel \- set the label of a swap filesystem -.SH SYNOPSIS -\fBswaplabel\fR [\fB\-L\fR|\fB\-\-label\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIdevice\fR> -.SH DESCRIPTION -set the label of a swap filesystem -.SH OPTIONS -.TP -\fB\-L\fR, \fB\-\-label\fR -set the label -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIdevice\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/swapoff.1 b/pkg/usr/share/man/man1/swapoff.1 deleted file mode 100644 index 8ac5eca..0000000 --- a/pkg/usr/share/man/man1/swapoff.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH swapoff 1 "swapoff 0.1.0" -.SH NAME -swapoff \- disable devices and files for paging and swapping -.SH SYNOPSIS -\fBswapoff\fR [\fB\-a\fR|\fB\-\-all\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIdevice\fR] -.SH DESCRIPTION -disable devices and files for paging and swapping -.SH OPTIONS -.TP -\fB\-a\fR, \fB\-\-all\fR -Disable swapping on all known swap devices and files as found in /etc/fstab. -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIdevice\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/sync.1 b/pkg/usr/share/man/man1/sync.1 deleted file mode 100644 index 5aff538..0000000 --- a/pkg/usr/share/man/man1/sync.1 +++ /dev/null @@ -1,29 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH sync 1 "sync 0.1.0" -.SH NAME -sync \- force completion of pending disk writes (flush cache) -.SH SYNOPSIS -\fBsync\fR [\fB\-d\fR|\fB\-\-data\fR] [\fB\-f\fR|\fB\-\-file\-system\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILE\fR] -.SH DESCRIPTION -force completion of pending disk writes (flush cache) -.SH OPTIONS -.TP -\fB\-d\fR, \fB\-\-data\fR -sync only file data, no unneeded metadata -.TP -\fB\-f\fR, \fB\-\-file\-system\fR -sync the file systems that contain the files -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIFILE\fR] -If one or more files are specified, sync only them, or their containing file systems. -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/true.1 b/pkg/usr/share/man/man1/true.1 deleted file mode 100644 index 159f3bd..0000000 --- a/pkg/usr/share/man/man1/true.1 +++ /dev/null @@ -1,15 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH true 1 "true " -.SH NAME -true \- Does nothing successfully -.SH SYNOPSIS -\fBtrue\fR [\fB\-h\fR|\fB\-\-help\fR] -.SH DESCRIPTION -Exit with a status code indicating success -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/umount.1 b/pkg/usr/share/man/man1/umount.1 deleted file mode 100644 index 3ce5515..0000000 --- a/pkg/usr/share/man/man1/umount.1 +++ /dev/null @@ -1,41 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH umount 1 "umount 0.1.0" -.SH NAME -umount \- unmount filesystems -.SH SYNOPSIS -\fBumount\fR [\fB\-a\fR|\fB\-\-all\fR] [\fB\-f\fR|\fB\-\-force\fR] [\fB\-l\fR|\fB\-\-lazy\fR] [\fB\-n \fR] [\fB\-t\fR|\fB\-\-types\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIdirectory|device\fR] -.SH DESCRIPTION -unmount filesystems -.SH OPTIONS -.TP -\fB\-a\fR, \fB\-\-all\fR -All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted. -.TP -\fB\-f\fR, \fB\-\-force\fR -Force an unmount (in case of an unreachable NFS system). -.TP -\fB\-l\fR, \fB\-\-lazy\fR -Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. -.TP -\fB\-n\fR -Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability. -.TP -\fB\-t\fR, \fB\-\-types\fR=\fItype\fR -Indicate that the actions should only be taken on filesystems of the specified type. More than one type may be specified in a comma\-separated list. The list of filesystem types can be prefixed with no to indicate that no action should be taken for all of the mentioned types. -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIdirectory|device\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/unlink.1 b/pkg/usr/share/man/man1/unlink.1 deleted file mode 100644 index eb73322..0000000 --- a/pkg/usr/share/man/man1/unlink.1 +++ /dev/null @@ -1,26 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH unlink 1 "unlink 0.1.0" -.SH NAME -unlink \- call the unlink function to remove the specified file -.SH SYNOPSIS -\fBunlink\fR [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIFILE\fR> -.SH DESCRIPTION -call the unlink function to remove the specified file -.SH OPTIONS -.TP -\fB\-v\fR, \fB\-\-verbose\fR -output a diagnostic for every file processed -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -<\fIFILE\fR> - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/utilbox-bootstrap.1 b/pkg/usr/share/man/man1/utilbox-bootstrap.1 deleted file mode 100644 index 891b731..0000000 --- a/pkg/usr/share/man/man1/utilbox-bootstrap.1 +++ /dev/null @@ -1,46 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH bootstrap 1 "bootstrap 0.1.0" -.SH NAME -bootstrap \- Install shitbox into the filesystem -.SH SYNOPSIS -\fBbootstrap\fR [\fB\-p\fR|\fB\-\-prefix\fR] [\fB\-u\fR|\fB\-\-usr\fR] [\fB\-s\fR|\fB\-\-soft\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIsubcommands\fR] -.SH DESCRIPTION -Install symlinks, manpages and shell completions -.SH OPTIONS -.TP -\fB\-p\fR, \fB\-\-prefix\fR [default: /] -The directory path under which to install -.TP -\fB\-u\fR, \fB\-\-usr\fR -Split the installation so that some applets go into /bin | /sbin -while others are placed into /usr/bin | /usr/sbin -.TP -\fB\-s\fR, \fB\-\-soft\fR -Install soft links instead of hardlinks -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help (see a summary with \*(Aq\-h\*(Aq) -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH SUBCOMMANDS -.TP -bootstrap\-all(1) -Install everything -.TP -bootstrap\-links(1) -Install links for each applet -.TP -bootstrap\-manpages(1) -Install Unix man pages -.TP -bootstrap\-completions(1) -Install shell completions -.TP -bootstrap\-help(1) -Print this message or the help of the given subcommand(s) -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/utilbox.1 b/pkg/usr/share/man/man1/utilbox.1 deleted file mode 100644 index de7a262..0000000 --- a/pkg/usr/share/man/man1/utilbox.1 +++ /dev/null @@ -1,40 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH utilbox 1 "utilbox 0.1.0" -.SH NAME -utilbox \- The box store multitool of embedded Linux -.SH SYNOPSIS -\fButilbox\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIapplet\fR] -.SH DESCRIPTION -The box store multitool of embedded Linux -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.SH APPLETS -.TP -utilbox\-bootstrap(1) -Install shitbox into the filesystem -.TP -utilbox\-clear(1) -clear the terminal\*(Aqs screen -.TP -utilbox\-mountpoint(1) -see if a directory or file is a mountpoint -.TP -utilbox\-swaplabel(1) -set the label of a swap filesystem -.TP -utilbox\-swapoff(1) -disable devices and files for paging and swapping -.TP -utilbox\-umount(1) -unmount filesystems -.TP -utilbox\-help(1) -Print this message or the help of the given subcommand(s) -.SH VERSION -v0.1.0 diff --git a/pkg/usr/share/man/man1/wc.1 b/pkg/usr/share/man/man1/wc.1 deleted file mode 100644 index 9601d35..0000000 --- a/pkg/usr/share/man/man1/wc.1 +++ /dev/null @@ -1,38 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH wc 1 "wc 0.1.0" -.SH NAME -wc \- Print newline, word, and byte counts for each file -.SH SYNOPSIS -\fBwc\fR [\fB\-c\fR|\fB\-\-bytes\fR] [\fB\-m\fR|\fB\-\-chars\fR] [\fB\-l\fR|\fB\-\-lines\fR] [\fB\-L\fR|\fB\-\-max\-line\-length\fR] [\fB\-w\fR|\fB\-\-words\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIINPUT\fR] -.SH DESCRIPTION -Print newline, word, and byte counts for each file -.SH OPTIONS -.TP -\fB\-c\fR, \fB\-\-bytes\fR -Print the byte counts -.TP -\fB\-m\fR, \fB\-\-chars\fR -Print the character counts -.TP -\fB\-l\fR, \fB\-\-lines\fR -Print the line counts -.TP -\fB\-L\fR, \fB\-\-max\-line\-length\fR -Print the maximum display width -.TP -\fB\-w\fR, \fB\-\-words\fR -Print the word counts -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fIINPUT\fR] -The input file to use -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/which.1 b/pkg/usr/share/man/man1/which.1 deleted file mode 100644 index b82393f..0000000 --- a/pkg/usr/share/man/man1/which.1 +++ /dev/null @@ -1,23 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH which 1 "which 0.1.0" -.SH NAME -which \- Write the full path of COMMAND(s) to standard output -.SH SYNOPSIS -\fBwhich\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fICOMMAND\fR] -.SH DESCRIPTION -Write the full path of COMMAND(s) to standard output -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -\fB\-V\fR, \fB\-\-version\fR -Print version -.TP -[\fICOMMAND\fR] - -.SH VERSION -v0.1.0 -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/whoami.1 b/pkg/usr/share/man/man1/whoami.1 deleted file mode 100644 index dffa1ef..0000000 --- a/pkg/usr/share/man/man1/whoami.1 +++ /dev/null @@ -1,15 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH whoami 1 "whoami " -.SH NAME -whoami \- print effective user name -.SH SYNOPSIS -\fBwhoami\fR [\fB\-h\fR|\fB\-\-help\fR] -.SH DESCRIPTION -print effective user name -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/man/man1/yes.1 b/pkg/usr/share/man/man1/yes.1 deleted file mode 100644 index 355b2ef..0000000 --- a/pkg/usr/share/man/man1/yes.1 +++ /dev/null @@ -1,18 +0,0 @@ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.TH yes 1 "yes " -.SH NAME -yes \- output a string repeatedly until killed -.SH SYNOPSIS -\fByes\fR [\fB\-h\fR|\fB\-\-help\fR] [\fImsg\fR] -.SH DESCRIPTION -output a string repeatedly until killed -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help -.TP -[\fImsg\fR] [default: y] - -.SH AUTHORS -Nathan Fisher diff --git a/pkg/usr/share/nu/completions/b2sum.nu b/pkg/usr/share/nu/completions/b2sum.nu deleted file mode 100644 index b5c8201..0000000 --- a/pkg/usr/share/nu/completions/b2sum.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # compute and check MD5 message digest - export extern b2sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --length(-l): string # digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8 - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/base32.nu b/pkg/usr/share/nu/completions/base32.nu deleted file mode 100644 index 0dcd490..0000000 --- a/pkg/usr/share/nu/completions/base32.nu +++ /dev/null @@ -1,21 +0,0 @@ -module completions { - - def "nu-complete base32 color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # Base32 encode/decode data and print to standard output - export extern base32 [ - ...file: string - --decode(-d) # Decode rather than encode - --ignore-space(-i) # Ignore whitespace when decoding - --wrap(-w): string # Wrap encoded lines after n characters - --color(-c): string@"nu-complete base32 color" - --verbose(-v) # output a diagnostic for every file processed - --quiet(-q) # Do not display header, even with multiple files - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/base64.nu b/pkg/usr/share/nu/completions/base64.nu deleted file mode 100644 index 9a758ac..0000000 --- a/pkg/usr/share/nu/completions/base64.nu +++ /dev/null @@ -1,21 +0,0 @@ -module completions { - - def "nu-complete base64 color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # Base64 encode/decode data and print to standard output - export extern base64 [ - ...file: string - --decode(-d) # Decode rather than encode - --ignore-space(-i) # Ignore whitespace when decoding - --wrap(-w): string # Wrap encoded lines after n characters - --color(-c): string@"nu-complete base64 color" - --verbose(-v) # output a diagnostic for every file processed - --quiet(-q) # Do not display header, even with multiple files - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/basename.nu b/pkg/usr/share/nu/completions/basename.nu deleted file mode 100644 index 555c669..0000000 --- a/pkg/usr/share/nu/completions/basename.nu +++ /dev/null @@ -1,12 +0,0 @@ -module completions { - - # Print NAME with any leading directory components removed. - export extern basename [ - NAME: string # the filename to process - SUFFIX?: string # the suffix to be removed - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/bootstrap.nu b/pkg/usr/share/nu/completions/bootstrap.nu deleted file mode 100644 index 9087c62..0000000 --- a/pkg/usr/share/nu/completions/bootstrap.nu +++ /dev/null @@ -1,72 +0,0 @@ -module completions { - - # Install shitbox into the filesystem - export extern bootstrap [ - --prefix(-p): string # The directory path under which to install - --usr(-u) # Use /usr - --soft(-s) # Install soft links instead of hardlinks - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # Install everything - export extern "bootstrap all" [ - --soft(-s) # Install soft links instead of hardlinks - --all(-a) # Install completions for all supported shells - --bash(-b) # Bash shell completions - --fish(-f) # Fish shell completions - --nu(-n) # Nushell completions - --pwsh(-p) # PowerShell completions - --zsh(-z) # Zshell completions - --help(-h) # Print help - ] - - # Install links for each applet - export extern "bootstrap links" [ - --soft(-s) # Install soft links instead of hardlinks - --help(-h) # Print help - ] - - # Install Unix man pages - export extern "bootstrap manpages" [ - --help(-h) # Print help - ] - - # Install shell completions - export extern "bootstrap completions" [ - --all(-a) # Install completions for all supported shells - --bash(-b) # Bash shell completions - --fish(-f) # Fish shell completions - --nu(-n) # Nushell completions - --pwsh(-p) # PowerShell completions - --zsh(-z) # Zshell completions - --help(-h) # Print help - ] - - # Print this message or the help of the given subcommand(s) - export extern "bootstrap help" [ - ] - - # Install everything - export extern "bootstrap help all" [ - ] - - # Install links for each applet - export extern "bootstrap help links" [ - ] - - # Install Unix man pages - export extern "bootstrap help manpages" [ - ] - - # Install shell completions - export extern "bootstrap help completions" [ - ] - - # Print this message or the help of the given subcommand(s) - export extern "bootstrap help help" [ - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/chgrp.nu b/pkg/usr/share/nu/completions/chgrp.nu deleted file mode 100644 index d526647..0000000 --- a/pkg/usr/share/nu/completions/chgrp.nu +++ /dev/null @@ -1,20 +0,0 @@ -module completions { - - # change group ownership - export extern chgrp [ - group: string - --changes(-c) # report only when a change is made - --verbose(-v) # output a diagnostic for every file processed - --recursive(-R) # operate on files and directories recursively - -H # if a command line argument is a symbolic link to a directory, traverse it - -L # traverse every symbolic link encountered in a directory - -P # do not traverse any symbolic links (default) - --same-filesystem(-s) # do not cross filesystem boundaries (requires recursive) - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/chmod.nu b/pkg/usr/share/nu/completions/chmod.nu deleted file mode 100644 index d9024fa..0000000 --- a/pkg/usr/share/nu/completions/chmod.nu +++ /dev/null @@ -1,18 +0,0 @@ -module completions { - - # change file mode bits - export extern chmod [ - --verbose(-v) # output a diagnostic for every file processed - --changes(-c) # report only when a change is made - --silent(-f) # suppress most error messages - --quiet # suppress most error messages - --recursive(-R) # operate on files and directories recursively - mode: string - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/chown.nu b/pkg/usr/share/nu/completions/chown.nu deleted file mode 100644 index 4fda853..0000000 --- a/pkg/usr/share/nu/completions/chown.nu +++ /dev/null @@ -1,20 +0,0 @@ -module completions { - - # change file owner and group - export extern chown [ - user: string - --changes(-c) # report only when a change is made - --verbose(-v) # output a diagnostic for every file processed - --recursive(-R) # operate on files and directories recursively - -H # if a command line argument is a symbolic link to a directory, traverse it - -L # traverse every symbolic link encountered in a directory - -P # do not traverse any symbolic links (default) - --same-filesystem(-s) # do not cross filesystem boundaries (requires recursive) - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/chroot.nu b/pkg/usr/share/nu/completions/chroot.nu deleted file mode 100644 index 895e06b..0000000 --- a/pkg/usr/share/nu/completions/chroot.nu +++ /dev/null @@ -1,15 +0,0 @@ -module completions { - - # run command or interactive shell with special root directory - export extern chroot [ - --directory(-d): string # change to this directory after performing the chroot instead of '/' - newroot: string - command?: string - ...arg: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/clear.nu b/pkg/usr/share/nu/completions/clear.nu deleted file mode 100644 index 7e6bf08..0000000 --- a/pkg/usr/share/nu/completions/clear.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # clear the terminal's screen - export extern clear [ - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/corebox.nu b/pkg/usr/share/nu/completions/corebox.nu deleted file mode 100644 index 2a98b92..0000000 --- a/pkg/usr/share/nu/completions/corebox.nu +++ /dev/null @@ -1,668 +0,0 @@ -module completions { - - # The box store multitool of embedded Linux - export extern corebox [ - --help(-h) # Print help - --version(-V) # Print version - ] - - def "nu-complete corebox base32 color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # Base32 encode/decode data and print to standard output - export extern "corebox base32" [ - ...file: string - --decode(-d) # Decode rather than encode - --ignore-space(-i) # Ignore whitespace when decoding - --wrap(-w): string # Wrap encoded lines after n characters - --color(-c): string@"nu-complete corebox base32 color" - --verbose(-v) # output a diagnostic for every file processed - --quiet(-q) # Do not display header, even with multiple files - --help(-h) # Print help - --version(-V) # Print version - ] - - def "nu-complete corebox base64 color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # Base64 encode/decode data and print to standard output - export extern "corebox base64" [ - ...file: string - --decode(-d) # Decode rather than encode - --ignore-space(-i) # Ignore whitespace when decoding - --wrap(-w): string # Wrap encoded lines after n characters - --color(-c): string@"nu-complete corebox base64 color" - --verbose(-v) # output a diagnostic for every file processed - --quiet(-q) # Do not display header, even with multiple files - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print NAME with any leading directory components removed. - export extern "corebox basename" [ - NAME: string # the filename to process - SUFFIX?: string # the suffix to be removed - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # Install shitbox into the filesystem - export extern "corebox bootstrap" [ - --prefix(-p): string # The directory path under which to install - --usr(-u) # Use /usr - --soft(-s) # Install soft links instead of hardlinks - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # Install everything - export extern "corebox bootstrap all" [ - --soft(-s) # Install soft links instead of hardlinks - --all(-a) # Install completions for all supported shells - --bash(-b) # Bash shell completions - --fish(-f) # Fish shell completions - --nu(-n) # Nushell completions - --pwsh(-p) # PowerShell completions - --zsh(-z) # Zshell completions - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install links for each applet - export extern "corebox bootstrap links" [ - --soft(-s) # Install soft links instead of hardlinks - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install Unix man pages - export extern "corebox bootstrap manpages" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install shell completions - export extern "corebox bootstrap completions" [ - --all(-a) # Install completions for all supported shells - --bash(-b) # Bash shell completions - --fish(-f) # Fish shell completions - --nu(-n) # Nushell completions - --pwsh(-p) # PowerShell completions - --zsh(-z) # Zshell completions - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print this message or the help of the given subcommand(s) - export extern "corebox bootstrap help" [ - ] - - # Install everything - export extern "corebox bootstrap help all" [ - ] - - # Install links for each applet - export extern "corebox bootstrap help links" [ - ] - - # Install Unix man pages - export extern "corebox bootstrap help manpages" [ - ] - - # Install shell completions - export extern "corebox bootstrap help completions" [ - ] - - # Print this message or the help of the given subcommand(s) - export extern "corebox bootstrap help help" [ - ] - - # change group ownership - export extern "corebox chgrp" [ - group: string - --changes(-c) # report only when a change is made - --verbose(-v) # output a diagnostic for every file processed - --recursive(-R) # operate on files and directories recursively - -H # if a command line argument is a symbolic link to a directory, traverse it - -L # traverse every symbolic link encountered in a directory - -P # do not traverse any symbolic links (default) - --same-filesystem(-s) # do not cross filesystem boundaries (requires recursive) - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # change file mode bits - export extern "corebox chmod" [ - --verbose(-v) # output a diagnostic for every file processed - --changes(-c) # report only when a change is made - --silent(-f) # suppress most error messages - --quiet # suppress most error messages - --recursive(-R) # operate on files and directories recursively - mode: string - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # change file owner and group - export extern "corebox chown" [ - user: string - --changes(-c) # report only when a change is made - --verbose(-v) # output a diagnostic for every file processed - --recursive(-R) # operate on files and directories recursively - -H # if a command line argument is a symbolic link to a directory, traverse it - -L # traverse every symbolic link encountered in a directory - -P # do not traverse any symbolic links (default) - --same-filesystem(-s) # do not cross filesystem boundaries (requires recursive) - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # run command or interactive shell with special root directory - export extern "corebox chroot" [ - --directory(-d): string # change to this directory after performing the chroot instead of '/' - newroot: string - command?: string - ...arg: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # cut out selected fields of each line of a file - export extern "corebox cut" [ - --bytes(-b): string # select only these bytes - --characters(-c): string # select only these characters - --fields(-f): string # select only these fields - --delimiter(-d): string # use DELIM instead of TAB for field delimiter - -n: string # ignored - --only-delimited(-s) - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # strip last component from file name - export extern "corebox dirname" [ - --zero(-z) # end each output line with NUL, not newline - ...name: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # Display a line of text - export extern "corebox echo" [ - -n: string # Do not output a trailing newline - ...STRING: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # Does nothing unsuccessfully - export extern "corebox false" [ - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # factor numbers - export extern "corebox factor" [ - ...number: string # the numbers to factor - --help(-h) # Print help - --version(-V) # Print version - ] - - # Wrap each input line to fit in specified width - export extern "corebox fold" [ - ...FILE: string # The input file to use - --bytes(-b) # Count bytes rather than columns - --spaces(-s) # Break at spaces - --optimal(-o) # Optimal fit - --width(-w): string # Use width columns - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # display current group names - export extern "corebox groups" [ - user?: string - --help(-h) # Print help - --version(-V) # Print version - ] - - def "nu-complete corebox head color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # Display first lines of a file - export extern "corebox head" [ - ...FILES: string # The input file to use - --bytes(-c) # Count bytes instead of lines - --quiet(-q) # Disable printing a header. Overrides -c - --verbose(-v) # Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file. - --lines(-n): string # Count n number of lines (or bytes if -c is specified). - --color(-C): string@"nu-complete corebox head color" - -1: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # print the numeric identifier for the current host - export extern "corebox hostid" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # Prints the name of the current host. The super-user can set the host name by supplying an argument. - export extern "corebox hostname" [ - NAME?: string # name to set - --strip(-s) # Removes any domain information from the printed name. - --help(-h) # Print help - --version(-V) # Print version - ] - - # call the link function to create a link to a file - export extern "corebox link" [ - file1: string - file2: string - --verbose(-v) # output a diagnostic for every file processed - --help(-h) # Print help - --version(-V) # Print version - ] - - # make links between files - export extern "corebox ln" [ - --force(-f) # remove existing destination files - --symbolic(-s) # make symbolic links instead of hard links - --verbose(-v) # print name of each linked file - -L # For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link. - -P # For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself. - ...file: string - dest: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # print user's login name - export extern "corebox logname" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # make FIFO special files - export extern "corebox mkfifo" [ - --mode(-m): string # Set the file permission bits of the newly-created FIFO to the specified mode value. - --verbose(-v) # output a diagnostic for every file processed - ...file: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - def "nu-complete corebox mknod type" [] { - [ "b" "c" "p" ] - } - - # make block or character special files - export extern "corebox mknod" [ - --mode(-m): string # set file permission bits to MODE, not a=rw - umask - --verbose(-v) # output a diagnostic for every file processed - file: string - type: string@"nu-complete corebox mknod type" - major?: string - minor?: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # create a unique temporary file - export extern "corebox mktemp" [ - --directory(-d) # create a directory instead of a file - --tmpdir(-p): string # specify the directory to create temporary files in - --template(-t): string # specify a prefix to append to the created files - --dryrun(-u) # immediately remove created files and directories - --help(-h) # Print help - --version(-V) # Print version - ] - - # Denies a user account login ability - export extern "corebox nologin" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print the number of processing units available - export extern "corebox nproc" [ - --all(-a) # Print the number of installed processors - --help(-h) # Print help - --version(-V) # Print version - ] - - # print all or part of environment - export extern "corebox printenv" [ - --null(-0) # end each output line with NUL, not newline - ...var: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # return working directory name - export extern "corebox pwd" [ - --logical(-L) # use PWD from environment, even if it contains symlinks - --physical(-P) # avoid all symlinks - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print symbolic link target or canonical file name - export extern "corebox readlink" [ - ...path: string - --canonicalize(-f) # Canonicalize path - -c # Canonicalize path - --no-newline(-n) # Do not print the terminating newline. - --help(-h) # Print help - --version(-V) # Print version - ] - - # return resolved physical path - export extern "corebox realpath" [ - --quiet(-q) # ignore warnings - ...path: string - --help(-h) # Print help - --version(-V) # Print version - ] - - def "nu-complete corebox rev color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # reverse lines characterwise - export extern "corebox rev" [ - --verbose(-v) # Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file. - --color(-c): string@"nu-complete corebox rev color" - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - def "nu-complete corebox rm interactive" [] { - [ "never" "once" "always" ] - } - - # remove files or directories - export extern "corebox rm" [ - -i # prompt before every removal - -I # prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes - --interactive: string@"nu-complete corebox rm interactive" # when to prompt - --force(-f) # ignore nonexistent files and arguments, never prompt - --recursive(-R) # operate on files and directories recursively - --verbose(-v) # output a diagnostic for every file processed - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # remove directories - export extern "corebox rmdir" [ - --parents(-p) # remove DIRECTORY and it's ancestors - ...dir: string - --verbose(-v) # output a diagnostic for every file processed - --help(-h) # Print help - --version(-V) # Print version - ] - - # Suspend execution for an interval of time - export extern "corebox sleep" [ - seconds: string # The number of seconds to sleep - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # force completion of pending disk writes (flush cache) - export extern "corebox sync" [ - --data(-d) # sync only file data, no unneeded metadata - --file-system(-f) # sync the file systems that contain the files - ...FILE: string # If one or more files are specified, sync only them, or their containing file systems. - --help(-h) # Print help - --version(-V) # Print version - ] - - # Does nothing successfully - export extern "corebox true" [ - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # call the unlink function to remove the specified file - export extern "corebox unlink" [ - --verbose(-v) # output a diagnostic for every file processed - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print newline, word, and byte counts for each file - export extern "corebox wc" [ - ...INPUT: string # The input file to use - --bytes(-c) # Print the byte counts - --chars(-m) # Print the character counts - --lines(-l) # Print the line counts - --max-line-length(-L) # Print the maximum display width - --words(-w) # Print the word counts - --help(-h) # Print help - --version(-V) # Print version - ] - - # Write the full path of COMMAND(s) to standard output - export extern "corebox which" [ - ...COMMAND: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # print effective user name - export extern "corebox whoami" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # output a string repeatedly until killed - export extern "corebox yes" [ - msg?: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print this message or the help of the given subcommand(s) - export extern "corebox help" [ - ] - - # Base32 encode/decode data and print to standard output - export extern "corebox help base32" [ - ] - - # Base64 encode/decode data and print to standard output - export extern "corebox help base64" [ - ] - - # Print NAME with any leading directory components removed. - export extern "corebox help basename" [ - ] - - # Install shitbox into the filesystem - export extern "corebox help bootstrap" [ - ] - - # Install everything - export extern "corebox help bootstrap all" [ - ] - - # Install links for each applet - export extern "corebox help bootstrap links" [ - ] - - # Install Unix man pages - export extern "corebox help bootstrap manpages" [ - ] - - # Install shell completions - export extern "corebox help bootstrap completions" [ - ] - - # change group ownership - export extern "corebox help chgrp" [ - ] - - # change file mode bits - export extern "corebox help chmod" [ - ] - - # change file owner and group - export extern "corebox help chown" [ - ] - - # run command or interactive shell with special root directory - export extern "corebox help chroot" [ - ] - - # cut out selected fields of each line of a file - export extern "corebox help cut" [ - ] - - # strip last component from file name - export extern "corebox help dirname" [ - ] - - # Display a line of text - export extern "corebox help echo" [ - ] - - # Does nothing unsuccessfully - export extern "corebox help false" [ - ] - - # factor numbers - export extern "corebox help factor" [ - ] - - # Wrap each input line to fit in specified width - export extern "corebox help fold" [ - ] - - # display current group names - export extern "corebox help groups" [ - ] - - # Display first lines of a file - export extern "corebox help head" [ - ] - - # print the numeric identifier for the current host - export extern "corebox help hostid" [ - ] - - # Prints the name of the current host. The super-user can set the host name by supplying an argument. - export extern "corebox help hostname" [ - ] - - # call the link function to create a link to a file - export extern "corebox help link" [ - ] - - # make links between files - export extern "corebox help ln" [ - ] - - # print user's login name - export extern "corebox help logname" [ - ] - - # make FIFO special files - export extern "corebox help mkfifo" [ - ] - - # make block or character special files - export extern "corebox help mknod" [ - ] - - # create a unique temporary file - export extern "corebox help mktemp" [ - ] - - # Denies a user account login ability - export extern "corebox help nologin" [ - ] - - # Print the number of processing units available - export extern "corebox help nproc" [ - ] - - # print all or part of environment - export extern "corebox help printenv" [ - ] - - # return working directory name - export extern "corebox help pwd" [ - ] - - # Print symbolic link target or canonical file name - export extern "corebox help readlink" [ - ] - - # return resolved physical path - export extern "corebox help realpath" [ - ] - - # reverse lines characterwise - export extern "corebox help rev" [ - ] - - # remove files or directories - export extern "corebox help rm" [ - ] - - # remove directories - export extern "corebox help rmdir" [ - ] - - # Suspend execution for an interval of time - export extern "corebox help sleep" [ - ] - - # force completion of pending disk writes (flush cache) - export extern "corebox help sync" [ - ] - - # Does nothing successfully - export extern "corebox help true" [ - ] - - # call the unlink function to remove the specified file - export extern "corebox help unlink" [ - ] - - # Print newline, word, and byte counts for each file - export extern "corebox help wc" [ - ] - - # Write the full path of COMMAND(s) to standard output - export extern "corebox help which" [ - ] - - # print effective user name - export extern "corebox help whoami" [ - ] - - # output a string repeatedly until killed - export extern "corebox help yes" [ - ] - - # Print this message or the help of the given subcommand(s) - export extern "corebox help help" [ - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/cut.nu b/pkg/usr/share/nu/completions/cut.nu deleted file mode 100644 index 5d8a047..0000000 --- a/pkg/usr/share/nu/completions/cut.nu +++ /dev/null @@ -1,18 +0,0 @@ -module completions { - - # cut out selected fields of each line of a file - export extern cut [ - --bytes(-b): string # select only these bytes - --characters(-c): string # select only these characters - --fields(-f): string # select only these fields - --delimiter(-d): string # use DELIM instead of TAB for field delimiter - -n: string # ignored - --only-delimited(-s) - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/dirname.nu b/pkg/usr/share/nu/completions/dirname.nu deleted file mode 100644 index 7debf54..0000000 --- a/pkg/usr/share/nu/completions/dirname.nu +++ /dev/null @@ -1,12 +0,0 @@ -module completions { - - # strip last component from file name - export extern dirname [ - --zero(-z) # end each output line with NUL, not newline - ...name: string - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/echo.nu b/pkg/usr/share/nu/completions/echo.nu deleted file mode 100644 index 7426803..0000000 --- a/pkg/usr/share/nu/completions/echo.nu +++ /dev/null @@ -1,12 +0,0 @@ -module completions { - - # Display a line of text - export extern echo [ - -n: string # Do not output a trailing newline - ...STRING: string - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/factor.nu b/pkg/usr/share/nu/completions/factor.nu deleted file mode 100644 index d79e68e..0000000 --- a/pkg/usr/share/nu/completions/factor.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # factor numbers - export extern factor [ - ...number: string # the numbers to factor - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/false.nu b/pkg/usr/share/nu/completions/false.nu deleted file mode 100644 index eb6316f..0000000 --- a/pkg/usr/share/nu/completions/false.nu +++ /dev/null @@ -1,10 +0,0 @@ -module completions { - - # Does nothing unsuccessfully - export extern false [ - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/fold.nu b/pkg/usr/share/nu/completions/fold.nu deleted file mode 100644 index bbd809f..0000000 --- a/pkg/usr/share/nu/completions/fold.nu +++ /dev/null @@ -1,15 +0,0 @@ -module completions { - - # Wrap each input line to fit in specified width - export extern fold [ - ...FILE: string # The input file to use - --bytes(-b) # Count bytes rather than columns - --spaces(-s) # Break at spaces - --optimal(-o) # Optimal fit - --width(-w): string # Use width columns - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/groups.nu b/pkg/usr/share/nu/completions/groups.nu deleted file mode 100644 index e3e59a2..0000000 --- a/pkg/usr/share/nu/completions/groups.nu +++ /dev/null @@ -1,12 +0,0 @@ -module completions { - - # display current group names - export extern groups [ - user?: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/head.nu b/pkg/usr/share/nu/completions/head.nu deleted file mode 100644 index bff4cc7..0000000 --- a/pkg/usr/share/nu/completions/head.nu +++ /dev/null @@ -1,21 +0,0 @@ -module completions { - - def "nu-complete head color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # Display first lines of a file - export extern head [ - ...FILES: string # The input file to use - --bytes(-c) # Count bytes instead of lines - --quiet(-q) # Disable printing a header. Overrides -c - --verbose(-v) # Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file. - --lines(-n): string # Count n number of lines (or bytes if -c is specified). - --color(-C): string@"nu-complete head color" - -1: string - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/hostid.nu b/pkg/usr/share/nu/completions/hostid.nu deleted file mode 100644 index fcefa23..0000000 --- a/pkg/usr/share/nu/completions/hostid.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # print the numeric identifier for the current host - export extern hostid [ - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/hostname.nu b/pkg/usr/share/nu/completions/hostname.nu deleted file mode 100644 index 17aa8d3..0000000 --- a/pkg/usr/share/nu/completions/hostname.nu +++ /dev/null @@ -1,12 +0,0 @@ -module completions { - - # Prints the name of the current host. The super-user can set the host name by supplying an argument. - export extern hostname [ - NAME?: string # name to set - --strip(-s) # Removes any domain information from the printed name. - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/link.nu b/pkg/usr/share/nu/completions/link.nu deleted file mode 100644 index cf3f051..0000000 --- a/pkg/usr/share/nu/completions/link.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # call the link function to create a link to a file - export extern link [ - file1: string - file2: string - --verbose(-v) # output a diagnostic for every file processed - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/ln.nu b/pkg/usr/share/nu/completions/ln.nu deleted file mode 100644 index 51360f2..0000000 --- a/pkg/usr/share/nu/completions/ln.nu +++ /dev/null @@ -1,18 +0,0 @@ -module completions { - - # make links between files - export extern ln [ - --force(-f) # remove existing destination files - --symbolic(-s) # make symbolic links instead of hard links - --verbose(-v) # print name of each linked file - -L # For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link. - -P # For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself. - ...file: string - dest: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/logname.nu b/pkg/usr/share/nu/completions/logname.nu deleted file mode 100644 index 131d414..0000000 --- a/pkg/usr/share/nu/completions/logname.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # print user's login name - export extern logname [ - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/md5sum.nu b/pkg/usr/share/nu/completions/md5sum.nu deleted file mode 100644 index db73ce9..0000000 --- a/pkg/usr/share/nu/completions/md5sum.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # compute and check MD5 message digest - export extern md5sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/mkfifo.nu b/pkg/usr/share/nu/completions/mkfifo.nu deleted file mode 100644 index 4b1a3a2..0000000 --- a/pkg/usr/share/nu/completions/mkfifo.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # make FIFO special files - export extern mkfifo [ - --mode(-m): string # Set the file permission bits of the newly-created FIFO to the specified mode value. - --verbose(-v) # output a diagnostic for every file processed - ...file: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/mknod.nu b/pkg/usr/share/nu/completions/mknod.nu deleted file mode 100644 index 2b01089..0000000 --- a/pkg/usr/share/nu/completions/mknod.nu +++ /dev/null @@ -1,21 +0,0 @@ -module completions { - - def "nu-complete mknod type" [] { - [ "b" "c" "p" ] - } - - # make block or character special files - export extern mknod [ - --mode(-m): string # set file permission bits to MODE, not a=rw - umask - --verbose(-v) # output a diagnostic for every file processed - file: string - type: string@"nu-complete mknod type" - major?: string - minor?: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/mktemp.nu b/pkg/usr/share/nu/completions/mktemp.nu deleted file mode 100644 index 993f7ec..0000000 --- a/pkg/usr/share/nu/completions/mktemp.nu +++ /dev/null @@ -1,15 +0,0 @@ -module completions { - - # create a unique temporary file - export extern mktemp [ - --directory(-d) # create a directory instead of a file - --tmpdir(-p): string # specify the directory to create temporary files in - --template(-t): string # specify a prefix to append to the created files - --dryrun(-u) # immediately remove created files and directories - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/mountpoint.nu b/pkg/usr/share/nu/completions/mountpoint.nu deleted file mode 100644 index 322bd53..0000000 --- a/pkg/usr/share/nu/completions/mountpoint.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # see if a directory or file is a mountpoint - export extern mountpoint [ - --fs-devno(-d) # Show the major/minor numbers of the device that is mounted on the given directory. - --devno(-x) # Show the major/minor numbers of the given blockdevice on standard output. - --quiet(-q) # Be quiet - don’t print anything. - file: string - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/nologin.nu b/pkg/usr/share/nu/completions/nologin.nu deleted file mode 100644 index 9a4ca11..0000000 --- a/pkg/usr/share/nu/completions/nologin.nu +++ /dev/null @@ -1,10 +0,0 @@ -module completions { - - # Denies a user account login ability - export extern nologin [ - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/nproc.nu b/pkg/usr/share/nu/completions/nproc.nu deleted file mode 100644 index a80fa4d..0000000 --- a/pkg/usr/share/nu/completions/nproc.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # Print the number of processing units available - export extern nproc [ - --all(-a) # Print the number of installed processors - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/printenv.nu b/pkg/usr/share/nu/completions/printenv.nu deleted file mode 100644 index 742df1e..0000000 --- a/pkg/usr/share/nu/completions/printenv.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # print all or part of environment - export extern printenv [ - --null(-0) # end each output line with NUL, not newline - ...var: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/pwd.nu b/pkg/usr/share/nu/completions/pwd.nu deleted file mode 100644 index e3884cc..0000000 --- a/pkg/usr/share/nu/completions/pwd.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # return working directory name - export extern pwd [ - --logical(-L) # use PWD from environment, even if it contains symlinks - --physical(-P) # avoid all symlinks - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/readlink.nu b/pkg/usr/share/nu/completions/readlink.nu deleted file mode 100644 index 5d799db..0000000 --- a/pkg/usr/share/nu/completions/readlink.nu +++ /dev/null @@ -1,15 +0,0 @@ -module completions { - - # Print symbolic link target or canonical file name - export extern readlink [ - ...path: string - --canonicalize(-f) # Canonicalize path - -c # Canonicalize path - --no-newline(-n) # Do not print the terminating newline. - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/realpath.nu b/pkg/usr/share/nu/completions/realpath.nu deleted file mode 100644 index c07ea95..0000000 --- a/pkg/usr/share/nu/completions/realpath.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # return resolved physical path - export extern realpath [ - --quiet(-q) # ignore warnings - ...path: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/rev.nu b/pkg/usr/share/nu/completions/rev.nu deleted file mode 100644 index 1b06e00..0000000 --- a/pkg/usr/share/nu/completions/rev.nu +++ /dev/null @@ -1,17 +0,0 @@ -module completions { - - def "nu-complete rev color" [] { - [ "always" "ansi" "auto" "never" ] - } - - # reverse lines characterwise - export extern rev [ - --verbose(-v) # Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file. - --color(-c): string@"nu-complete rev color" - ...file: string - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/rm.nu b/pkg/usr/share/nu/completions/rm.nu deleted file mode 100644 index 1416001..0000000 --- a/pkg/usr/share/nu/completions/rm.nu +++ /dev/null @@ -1,23 +0,0 @@ -module completions { - - def "nu-complete rm interactive" [] { - [ "never" "once" "always" ] - } - - # remove files or directories - export extern rm [ - -i # prompt before every removal - -I # prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes - --interactive: string@"nu-complete rm interactive" # when to prompt - --force(-f) # ignore nonexistent files and arguments, never prompt - --recursive(-R) # operate on files and directories recursively - --verbose(-v) # output a diagnostic for every file processed - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/rmdir.nu b/pkg/usr/share/nu/completions/rmdir.nu deleted file mode 100644 index 54249a1..0000000 --- a/pkg/usr/share/nu/completions/rmdir.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # remove directories - export extern rmdir [ - --parents(-p) # remove DIRECTORY and it's ancestors - ...dir: string - --verbose(-v) # output a diagnostic for every file processed - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sha1sum.nu b/pkg/usr/share/nu/completions/sha1sum.nu deleted file mode 100644 index 52c4a95..0000000 --- a/pkg/usr/share/nu/completions/sha1sum.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # compute and check SHA1 message digest - export extern sha1sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sha224sum.nu b/pkg/usr/share/nu/completions/sha224sum.nu deleted file mode 100644 index 69cb120..0000000 --- a/pkg/usr/share/nu/completions/sha224sum.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # compute and check SHA1 message digest - export extern sha224sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sha256sum.nu b/pkg/usr/share/nu/completions/sha256sum.nu deleted file mode 100644 index 3c4d64a..0000000 --- a/pkg/usr/share/nu/completions/sha256sum.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # compute and check SHA1 message digest - export extern sha256sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sha384sum.nu b/pkg/usr/share/nu/completions/sha384sum.nu deleted file mode 100644 index c8a35da..0000000 --- a/pkg/usr/share/nu/completions/sha384sum.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # compute and check SHA1 message digest - export extern sha384sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sha512sum.nu b/pkg/usr/share/nu/completions/sha512sum.nu deleted file mode 100644 index 953ed12..0000000 --- a/pkg/usr/share/nu/completions/sha512sum.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # compute and check SHA1 message digest - export extern sha512sum [ - --check(-c) # read checksums from the FILEs and check them - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sleep.nu b/pkg/usr/share/nu/completions/sleep.nu deleted file mode 100644 index 58aa3cc..0000000 --- a/pkg/usr/share/nu/completions/sleep.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # Suspend execution for an interval of time - export extern sleep [ - seconds: string # The number of seconds to sleep - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/swaplabel.nu b/pkg/usr/share/nu/completions/swaplabel.nu deleted file mode 100644 index 00c7911..0000000 --- a/pkg/usr/share/nu/completions/swaplabel.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # set the label of a swap filesystem - export extern swaplabel [ - --label(-L): string # set the label - -l: string # set the label - device: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/swapoff.nu b/pkg/usr/share/nu/completions/swapoff.nu deleted file mode 100644 index defc48e..0000000 --- a/pkg/usr/share/nu/completions/swapoff.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # disable devices and files for paging and swapping - export extern swapoff [ - --all(-a) # Disable swapping on all known swap devices and files as found in /etc/fstab. - --verbose(-v) # output a diagnostic for every file processed - ...device: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/sync.nu b/pkg/usr/share/nu/completions/sync.nu deleted file mode 100644 index cc53035..0000000 --- a/pkg/usr/share/nu/completions/sync.nu +++ /dev/null @@ -1,14 +0,0 @@ -module completions { - - # force completion of pending disk writes (flush cache) - export extern sync [ - --data(-d) # sync only file data, no unneeded metadata - --file-system(-f) # sync the file systems that contain the files - ...FILE: string # If one or more files are specified, sync only them, or their containing file systems. - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/true.nu b/pkg/usr/share/nu/completions/true.nu deleted file mode 100644 index c40c000..0000000 --- a/pkg/usr/share/nu/completions/true.nu +++ /dev/null @@ -1,10 +0,0 @@ -module completions { - - # Does nothing successfully - export extern true [ - --help(-h) # Print help (see more with '--help') - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/umount.nu b/pkg/usr/share/nu/completions/umount.nu deleted file mode 100644 index 830adc9..0000000 --- a/pkg/usr/share/nu/completions/umount.nu +++ /dev/null @@ -1,18 +0,0 @@ -module completions { - - # unmount filesystems - export extern umount [ - --all(-a) # All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted. - --force(-f) # Force an unmount (in case of an unreachable NFS system). - --lazy(-l) # Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. - -n # Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability. - --types(-t): string # Indicate that the actions should only be taken on filesystems of the specified type. - --verbose(-v) # output a diagnostic for every file processed - ...spec: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/unlink.nu b/pkg/usr/share/nu/completions/unlink.nu deleted file mode 100644 index 79ab795..0000000 --- a/pkg/usr/share/nu/completions/unlink.nu +++ /dev/null @@ -1,13 +0,0 @@ -module completions { - - # call the unlink function to remove the specified file - export extern unlink [ - --verbose(-v) # output a diagnostic for every file processed - ...file: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/utilbox.nu b/pkg/usr/share/nu/completions/utilbox.nu deleted file mode 100644 index a86dcea..0000000 --- a/pkg/usr/share/nu/completions/utilbox.nu +++ /dev/null @@ -1,177 +0,0 @@ -module completions { - - # The box store multitool of embedded Linux - export extern utilbox [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install shitbox into the filesystem - export extern "utilbox bootstrap" [ - --prefix(-p): string # The directory path under which to install - --usr(-u) # Use /usr - --soft(-s) # Install soft links instead of hardlinks - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # Install everything - export extern "utilbox bootstrap all" [ - --soft(-s) # Install soft links instead of hardlinks - --all(-a) # Install completions for all supported shells - --bash(-b) # Bash shell completions - --fish(-f) # Fish shell completions - --nu(-n) # Nushell completions - --pwsh(-p) # PowerShell completions - --zsh(-z) # Zshell completions - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install links for each applet - export extern "utilbox bootstrap links" [ - --soft(-s) # Install soft links instead of hardlinks - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install Unix man pages - export extern "utilbox bootstrap manpages" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # Install shell completions - export extern "utilbox bootstrap completions" [ - --all(-a) # Install completions for all supported shells - --bash(-b) # Bash shell completions - --fish(-f) # Fish shell completions - --nu(-n) # Nushell completions - --pwsh(-p) # PowerShell completions - --zsh(-z) # Zshell completions - --help(-h) # Print help - --version(-V) # Print version - ] - - # Print this message or the help of the given subcommand(s) - export extern "utilbox bootstrap help" [ - ] - - # Install everything - export extern "utilbox bootstrap help all" [ - ] - - # Install links for each applet - export extern "utilbox bootstrap help links" [ - ] - - # Install Unix man pages - export extern "utilbox bootstrap help manpages" [ - ] - - # Install shell completions - export extern "utilbox bootstrap help completions" [ - ] - - # Print this message or the help of the given subcommand(s) - export extern "utilbox bootstrap help help" [ - ] - - # clear the terminal's screen - export extern "utilbox clear" [ - --help(-h) # Print help - --version(-V) # Print version - ] - - # see if a directory or file is a mountpoint - export extern "utilbox mountpoint" [ - --fs-devno(-d) # Show the major/minor numbers of the device that is mounted on the given directory. - --devno(-x) # Show the major/minor numbers of the given blockdevice on standard output. - --quiet(-q) # Be quiet - don’t print anything. - file: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # set the label of a swap filesystem - export extern "utilbox swaplabel" [ - --label(-L): string # set the label - -l: string # set the label - device: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # disable devices and files for paging and swapping - export extern "utilbox swapoff" [ - --all(-a) # Disable swapping on all known swap devices and files as found in /etc/fstab. - --verbose(-v) # output a diagnostic for every file processed - ...device: string - --help(-h) # Print help - --version(-V) # Print version - ] - - # unmount filesystems - export extern "utilbox umount" [ - --all(-a) # All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted. - --force(-f) # Force an unmount (in case of an unreachable NFS system). - --lazy(-l) # Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. - -n # Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability. - --types(-t): string # Indicate that the actions should only be taken on filesystems of the specified type. - --verbose(-v) # output a diagnostic for every file processed - ...spec: string - --help(-h) # Print help (see more with '--help') - --version(-V) # Print version - ] - - # Print this message or the help of the given subcommand(s) - export extern "utilbox help" [ - ] - - # Install shitbox into the filesystem - export extern "utilbox help bootstrap" [ - ] - - # Install everything - export extern "utilbox help bootstrap all" [ - ] - - # Install links for each applet - export extern "utilbox help bootstrap links" [ - ] - - # Install Unix man pages - export extern "utilbox help bootstrap manpages" [ - ] - - # Install shell completions - export extern "utilbox help bootstrap completions" [ - ] - - # clear the terminal's screen - export extern "utilbox help clear" [ - ] - - # see if a directory or file is a mountpoint - export extern "utilbox help mountpoint" [ - ] - - # set the label of a swap filesystem - export extern "utilbox help swaplabel" [ - ] - - # disable devices and files for paging and swapping - export extern "utilbox help swapoff" [ - ] - - # unmount filesystems - export extern "utilbox help umount" [ - ] - - # Print this message or the help of the given subcommand(s) - export extern "utilbox help help" [ - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/wc.nu b/pkg/usr/share/nu/completions/wc.nu deleted file mode 100644 index 6a6b232..0000000 --- a/pkg/usr/share/nu/completions/wc.nu +++ /dev/null @@ -1,17 +0,0 @@ -module completions { - - # Print newline, word, and byte counts for each file - export extern wc [ - ...INPUT: string # The input file to use - --bytes(-c) # Print the byte counts - --chars(-m) # Print the character counts - --lines(-l) # Print the line counts - --max-line-length(-L) # Print the maximum display width - --words(-w) # Print the word counts - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/which.nu b/pkg/usr/share/nu/completions/which.nu deleted file mode 100644 index e8e499a..0000000 --- a/pkg/usr/share/nu/completions/which.nu +++ /dev/null @@ -1,12 +0,0 @@ -module completions { - - # Write the full path of COMMAND(s) to standard output - export extern which [ - ...COMMAND: string - --help(-h) # Print help - --version(-V) # Print version - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/whoami.nu b/pkg/usr/share/nu/completions/whoami.nu deleted file mode 100644 index 3ff45f7..0000000 --- a/pkg/usr/share/nu/completions/whoami.nu +++ /dev/null @@ -1,10 +0,0 @@ -module completions { - - # print effective user name - export extern whoami [ - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/nu/completions/yes.nu b/pkg/usr/share/nu/completions/yes.nu deleted file mode 100644 index 789d00d..0000000 --- a/pkg/usr/share/nu/completions/yes.nu +++ /dev/null @@ -1,11 +0,0 @@ -module completions { - - # output a string repeatedly until killed - export extern yes [ - msg?: string - --help(-h) # Print help - ] - -} - -use completions * diff --git a/pkg/usr/share/pwsh/completions/_b2sum.ps1 b/pkg/usr/share/pwsh/completions/_b2sum.ps1 deleted file mode 100644 index 8334177..0000000 --- a/pkg/usr/share/pwsh/completions/_b2sum.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'b2sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'b2sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'b2sum' { - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8') - [CompletionResult]::new('--length', 'length', [CompletionResultType]::ParameterName, 'digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_base32.ps1 b/pkg/usr/share/pwsh/completions/_base32.ps1 deleted file mode 100644 index 70c5cf5..0000000 --- a/pkg/usr/share/pwsh/completions/_base32.ps1 +++ /dev/null @@ -1,44 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'base32' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'base32' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'base32' { - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('--wrap', 'wrap', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'c') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('--decode', 'decode', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('--ignore-space', 'ignore-space', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_base64.ps1 b/pkg/usr/share/pwsh/completions/_base64.ps1 deleted file mode 100644 index 26971e6..0000000 --- a/pkg/usr/share/pwsh/completions/_base64.ps1 +++ /dev/null @@ -1,44 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'base64' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'base64' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'base64' { - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('--wrap', 'wrap', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'c') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('--decode', 'decode', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('--ignore-space', 'ignore-space', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_basename.ps1 b/pkg/usr/share/pwsh/completions/_basename.ps1 deleted file mode 100644 index bb867e1..0000000 --- a/pkg/usr/share/pwsh/completions/_basename.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'basename' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'basename' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'basename' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_bootstrap.ps1 b/pkg/usr/share/pwsh/completions/_bootstrap.ps1 deleted file mode 100644 index 8d68166..0000000 --- a/pkg/usr/share/pwsh/completions/_bootstrap.ps1 +++ /dev/null @@ -1,116 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'bootstrap' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'bootstrap' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'bootstrap' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'The directory path under which to install') - [CompletionResult]::new('--prefix', 'prefix', [CompletionResultType]::ParameterName, 'The directory path under which to install') - [CompletionResult]::new('-u', 'u', [CompletionResultType]::ParameterName, 'Use /usr') - [CompletionResult]::new('--usr', 'usr', [CompletionResultType]::ParameterName, 'Use /usr') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'bootstrap;all' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('--bash', 'bash', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('--fish', 'fish', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('--nu', 'nu', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('--pwsh', 'pwsh', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('--zsh', 'zsh', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - 'bootstrap;links' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - 'bootstrap;manpages' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - 'bootstrap;completions' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('--bash', 'bash', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('--fish', 'fish', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('--nu', 'nu', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('--pwsh', 'pwsh', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('--zsh', 'zsh', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - 'bootstrap;help' { - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'bootstrap;help;all' { - break - } - 'bootstrap;help;links' { - break - } - 'bootstrap;help;manpages' { - break - } - 'bootstrap;help;completions' { - break - } - 'bootstrap;help;help' { - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_chgrp.ps1 b/pkg/usr/share/pwsh/completions/_chgrp.ps1 deleted file mode 100644 index 00ee69e..0000000 --- a/pkg/usr/share/pwsh/completions/_chgrp.ps1 +++ /dev/null @@ -1,45 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'chgrp' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'chgrp' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'chgrp' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('--changes', 'changes', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-H', 'H', [CompletionResultType]::ParameterName, 'if a command line argument is a symbolic link to a directory, traverse it') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'traverse every symbolic link encountered in a directory') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'do not traverse any symbolic links (default)') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('--same-filesystem', 'same-filesystem', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_chmod.ps1 b/pkg/usr/share/pwsh/completions/_chmod.ps1 deleted file mode 100644 index b0ae295..0000000 --- a/pkg/usr/share/pwsh/completions/_chmod.ps1 +++ /dev/null @@ -1,43 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'chmod' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'chmod' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'chmod' { - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('--changes', 'changes', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'suppress most error messages') - [CompletionResult]::new('--silent', 'silent', [CompletionResultType]::ParameterName, 'suppress most error messages') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'suppress most error messages') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_chown.ps1 b/pkg/usr/share/pwsh/completions/_chown.ps1 deleted file mode 100644 index 444d39f..0000000 --- a/pkg/usr/share/pwsh/completions/_chown.ps1 +++ /dev/null @@ -1,45 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'chown' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'chown' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'chown' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('--changes', 'changes', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-H', 'H', [CompletionResultType]::ParameterName, 'if a command line argument is a symbolic link to a directory, traverse it') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'traverse every symbolic link encountered in a directory') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'do not traverse any symbolic links (default)') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('--same-filesystem', 'same-filesystem', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_chroot.ps1 b/pkg/usr/share/pwsh/completions/_chroot.ps1 deleted file mode 100644 index 5af42a5..0000000 --- a/pkg/usr/share/pwsh/completions/_chroot.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'chroot' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'chroot' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'chroot' { - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'change to this directory after performing the chroot instead of ''/''') - [CompletionResult]::new('--directory', 'directory', [CompletionResultType]::ParameterName, 'change to this directory after performing the chroot instead of ''/''') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_clear.ps1 b/pkg/usr/share/pwsh/completions/_clear.ps1 deleted file mode 100644 index aa55bcb..0000000 --- a/pkg/usr/share/pwsh/completions/_clear.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'clear' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'clear' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'clear' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_corebox.ps1 b/pkg/usr/share/pwsh/completions/_corebox.ps1 deleted file mode 100644 index 938d8a3..0000000 --- a/pkg/usr/share/pwsh/completions/_corebox.ps1 +++ /dev/null @@ -1,807 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'corebox' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'corebox' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'corebox' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('base32', 'base32', [CompletionResultType]::ParameterValue, 'Base32 encode/decode data and print to standard output') - [CompletionResult]::new('base64', 'base64', [CompletionResultType]::ParameterValue, 'Base64 encode/decode data and print to standard output') - [CompletionResult]::new('basename', 'basename', [CompletionResultType]::ParameterValue, 'Print NAME with any leading directory components removed.') - [CompletionResult]::new('bootstrap', 'bootstrap', [CompletionResultType]::ParameterValue, 'Install shitbox into the filesystem') - [CompletionResult]::new('chgrp', 'chgrp', [CompletionResultType]::ParameterValue, 'change group ownership') - [CompletionResult]::new('chmod', 'chmod', [CompletionResultType]::ParameterValue, 'change file mode bits') - [CompletionResult]::new('chown', 'chown', [CompletionResultType]::ParameterValue, 'change file owner and group') - [CompletionResult]::new('chroot', 'chroot', [CompletionResultType]::ParameterValue, 'run command or interactive shell with special root directory') - [CompletionResult]::new('cut', 'cut', [CompletionResultType]::ParameterValue, 'cut out selected fields of each line of a file') - [CompletionResult]::new('dirname', 'dirname', [CompletionResultType]::ParameterValue, 'strip last component from file name') - [CompletionResult]::new('echo', 'echo', [CompletionResultType]::ParameterValue, 'Display a line of text') - [CompletionResult]::new('false', 'false', [CompletionResultType]::ParameterValue, 'Does nothing unsuccessfully') - [CompletionResult]::new('factor', 'factor', [CompletionResultType]::ParameterValue, 'factor numbers') - [CompletionResult]::new('fold', 'fold', [CompletionResultType]::ParameterValue, 'Wrap each input line to fit in specified width') - [CompletionResult]::new('groups', 'groups', [CompletionResultType]::ParameterValue, 'display current group names') - [CompletionResult]::new('head', 'head', [CompletionResultType]::ParameterValue, 'Display first lines of a file') - [CompletionResult]::new('hostid', 'hostid', [CompletionResultType]::ParameterValue, 'print the numeric identifier for the current host') - [CompletionResult]::new('hostname', 'hostname', [CompletionResultType]::ParameterValue, 'Prints the name of the current host. The super-user can set the host name by supplying an argument.') - [CompletionResult]::new('link', 'link', [CompletionResultType]::ParameterValue, 'call the link function to create a link to a file') - [CompletionResult]::new('ln', 'ln', [CompletionResultType]::ParameterValue, 'make links between files') - [CompletionResult]::new('logname', 'logname', [CompletionResultType]::ParameterValue, 'print user''s login name') - [CompletionResult]::new('mkfifo', 'mkfifo', [CompletionResultType]::ParameterValue, 'make FIFO special files') - [CompletionResult]::new('mknod', 'mknod', [CompletionResultType]::ParameterValue, 'make block or character special files') - [CompletionResult]::new('mktemp', 'mktemp', [CompletionResultType]::ParameterValue, 'create a unique temporary file') - [CompletionResult]::new('nologin', 'nologin', [CompletionResultType]::ParameterValue, 'Denies a user account login ability') - [CompletionResult]::new('nproc', 'nproc', [CompletionResultType]::ParameterValue, 'Print the number of processing units available') - [CompletionResult]::new('printenv', 'printenv', [CompletionResultType]::ParameterValue, 'print all or part of environment') - [CompletionResult]::new('pwd', 'pwd', [CompletionResultType]::ParameterValue, 'return working directory name') - [CompletionResult]::new('readlink', 'readlink', [CompletionResultType]::ParameterValue, 'Print symbolic link target or canonical file name') - [CompletionResult]::new('realpath', 'realpath', [CompletionResultType]::ParameterValue, 'return resolved physical path') - [CompletionResult]::new('rev', 'rev', [CompletionResultType]::ParameterValue, 'reverse lines characterwise') - [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'remove files or directories') - [CompletionResult]::new('rmdir', 'rmdir', [CompletionResultType]::ParameterValue, 'remove directories') - [CompletionResult]::new('sleep', 'sleep', [CompletionResultType]::ParameterValue, 'Suspend execution for an interval of time') - [CompletionResult]::new('sync', 'sync', [CompletionResultType]::ParameterValue, 'force completion of pending disk writes (flush cache)') - [CompletionResult]::new('true', 'true', [CompletionResultType]::ParameterValue, 'Does nothing successfully') - [CompletionResult]::new('unlink', 'unlink', [CompletionResultType]::ParameterValue, 'call the unlink function to remove the specified file') - [CompletionResult]::new('wc', 'wc', [CompletionResultType]::ParameterValue, 'Print newline, word, and byte counts for each file') - [CompletionResult]::new('which', 'which', [CompletionResultType]::ParameterValue, 'Write the full path of COMMAND(s) to standard output') - [CompletionResult]::new('whoami', 'whoami', [CompletionResultType]::ParameterValue, 'print effective user name') - [CompletionResult]::new('yes', 'yes', [CompletionResultType]::ParameterValue, 'output a string repeatedly until killed') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'corebox;base32' { - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('--wrap', 'wrap', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'c') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('--decode', 'decode', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('--ignore-space', 'ignore-space', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;base64' { - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('--wrap', 'wrap', [CompletionResultType]::ParameterName, 'Wrap encoded lines after n characters') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'c') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('--decode', 'decode', [CompletionResultType]::ParameterName, 'Decode rather than encode') - [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('--ignore-space', 'ignore-space', [CompletionResultType]::ParameterName, 'Ignore whitespace when decoding') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Do not display header, even with multiple files') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;basename' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;bootstrap' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'The directory path under which to install') - [CompletionResult]::new('--prefix', 'prefix', [CompletionResultType]::ParameterName, 'The directory path under which to install') - [CompletionResult]::new('-u', 'u', [CompletionResultType]::ParameterName, 'Use /usr') - [CompletionResult]::new('--usr', 'usr', [CompletionResultType]::ParameterName, 'Use /usr') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'corebox;bootstrap;all' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('--bash', 'bash', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('--fish', 'fish', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('--nu', 'nu', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('--pwsh', 'pwsh', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('--zsh', 'zsh', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;bootstrap;links' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;bootstrap;manpages' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;bootstrap;completions' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('--bash', 'bash', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('--fish', 'fish', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('--nu', 'nu', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('--pwsh', 'pwsh', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('--zsh', 'zsh', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;bootstrap;help' { - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'corebox;bootstrap;help;all' { - break - } - 'corebox;bootstrap;help;links' { - break - } - 'corebox;bootstrap;help;manpages' { - break - } - 'corebox;bootstrap;help;completions' { - break - } - 'corebox;bootstrap;help;help' { - break - } - 'corebox;chgrp' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('--changes', 'changes', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-H', 'H', [CompletionResultType]::ParameterName, 'if a command line argument is a symbolic link to a directory, traverse it') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'traverse every symbolic link encountered in a directory') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'do not traverse any symbolic links (default)') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('--same-filesystem', 'same-filesystem', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;chmod' { - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('--changes', 'changes', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'suppress most error messages') - [CompletionResult]::new('--silent', 'silent', [CompletionResultType]::ParameterName, 'suppress most error messages') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'suppress most error messages') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;chown' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('--changes', 'changes', [CompletionResultType]::ParameterName, 'report only when a change is made') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-H', 'H', [CompletionResultType]::ParameterName, 'if a command line argument is a symbolic link to a directory, traverse it') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'traverse every symbolic link encountered in a directory') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'do not traverse any symbolic links (default)') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('--same-filesystem', 'same-filesystem', [CompletionResultType]::ParameterName, 'do not cross filesystem boundaries (requires recursive)') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;chroot' { - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'change to this directory after performing the chroot instead of ''/''') - [CompletionResult]::new('--directory', 'directory', [CompletionResultType]::ParameterName, 'change to this directory after performing the chroot instead of ''/''') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;cut' { - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'select only these bytes') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'select only these bytes') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'select only these characters') - [CompletionResult]::new('--characters', 'characters', [CompletionResultType]::ParameterName, 'select only these characters') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'select only these fields') - [CompletionResult]::new('--fields', 'fields', [CompletionResultType]::ParameterName, 'select only these fields') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'use DELIM instead of TAB for field delimiter') - [CompletionResult]::new('--delimiter', 'delimiter', [CompletionResultType]::ParameterName, 'use DELIM instead of TAB for field delimiter') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'ignored') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 's') - [CompletionResult]::new('--only-delimited', 'only-delimited', [CompletionResultType]::ParameterName, 'only-delimited') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;dirname' { - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('--zero', 'zero', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;echo' { - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Do not output a trailing newline') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;false' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;factor' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;fold' { - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Use width columns') - [CompletionResult]::new('--width', 'width', [CompletionResultType]::ParameterName, 'Use width columns') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Count bytes rather than columns') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'Count bytes rather than columns') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Break at spaces') - [CompletionResult]::new('--spaces', 'spaces', [CompletionResultType]::ParameterName, 'Break at spaces') - [CompletionResult]::new('-o', 'o', [CompletionResultType]::ParameterName, 'Optimal fit') - [CompletionResult]::new('--optimal', 'optimal', [CompletionResultType]::ParameterName, 'Optimal fit') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;groups' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;head' { - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Count n number of lines (or bytes if -c is specified).') - [CompletionResult]::new('--lines', 'lines', [CompletionResultType]::ParameterName, 'Count n number of lines (or bytes if -c is specified).') - [CompletionResult]::new('-C', 'C', [CompletionResultType]::ParameterName, 'C') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-1', '1', [CompletionResultType]::ParameterName, '1') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Count bytes instead of lines') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'Count bytes instead of lines') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Disable printing a header. Overrides -c') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Disable printing a header. Overrides -c') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;hostid' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;hostname' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Removes any domain information from the printed name.') - [CompletionResult]::new('--strip', 'strip', [CompletionResultType]::ParameterName, 'Removes any domain information from the printed name.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;link' { - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;ln' { - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'remove existing destination files') - [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'remove existing destination files') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'make symbolic links instead of hard links') - [CompletionResult]::new('--symbolic', 'symbolic', [CompletionResultType]::ParameterName, 'make symbolic links instead of hard links') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'print name of each linked file') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'print name of each linked file') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link.') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;logname' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;mkfifo' { - [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'Set the file permission bits of the newly-created FIFO to the specified mode value.') - [CompletionResult]::new('--mode', 'mode', [CompletionResultType]::ParameterName, 'Set the file permission bits of the newly-created FIFO to the specified mode value.') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;mknod' { - [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'set file permission bits to MODE, not a=rw - umask') - [CompletionResult]::new('--mode', 'mode', [CompletionResultType]::ParameterName, 'set file permission bits to MODE, not a=rw - umask') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;mktemp' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'specify the directory to create temporary files in') - [CompletionResult]::new('--tmpdir', 'tmpdir', [CompletionResultType]::ParameterName, 'specify the directory to create temporary files in') - [CompletionResult]::new('-t', 't', [CompletionResultType]::ParameterName, 'specify a prefix to append to the created files') - [CompletionResult]::new('--template', 'template', [CompletionResultType]::ParameterName, 'specify a prefix to append to the created files') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'create a directory instead of a file') - [CompletionResult]::new('--directory', 'directory', [CompletionResultType]::ParameterName, 'create a directory instead of a file') - [CompletionResult]::new('-u', 'u', [CompletionResultType]::ParameterName, 'immediately remove created files and directories') - [CompletionResult]::new('--dryrun', 'dryrun', [CompletionResultType]::ParameterName, 'immediately remove created files and directories') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;nologin' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;nproc' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Print the number of installed processors') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Print the number of installed processors') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;printenv' { - [CompletionResult]::new('-0', '0', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('--null', 'null', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;pwd' { - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'use PWD from environment, even if it contains symlinks') - [CompletionResult]::new('--logical', 'logical', [CompletionResultType]::ParameterName, 'use PWD from environment, even if it contains symlinks') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'avoid all symlinks') - [CompletionResult]::new('--physical', 'physical', [CompletionResultType]::ParameterName, 'avoid all symlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;readlink' { - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Canonicalize path') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Canonicalize path') - [CompletionResult]::new('--canonicalize', 'canonicalize', [CompletionResultType]::ParameterName, 'Canonicalize path') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Do not print the terminating newline.') - [CompletionResult]::new('--no-newline', 'no-newline', [CompletionResultType]::ParameterName, 'Do not print the terminating newline.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;realpath' { - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'ignore warnings') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'ignore warnings') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;rev' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'c') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;rm' { - [CompletionResult]::new('--interactive', 'interactive', [CompletionResultType]::ParameterName, 'when to prompt') - [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'prompt before every removal') - [CompletionResult]::new('-I', 'I', [CompletionResultType]::ParameterName, 'prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'ignore nonexistent files and arguments, never prompt') - [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'ignore nonexistent files and arguments, never prompt') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;rmdir' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'remove DIRECTORY and it''s ancestors') - [CompletionResult]::new('--parents', 'parents', [CompletionResultType]::ParameterName, 'remove DIRECTORY and it''s ancestors') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;sleep' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;sync' { - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'sync only file data, no unneeded metadata') - [CompletionResult]::new('--data', 'data', [CompletionResultType]::ParameterName, 'sync only file data, no unneeded metadata') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'sync the file systems that contain the files') - [CompletionResult]::new('--file-system', 'file-system', [CompletionResultType]::ParameterName, 'sync the file systems that contain the files') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;true' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;unlink' { - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;wc' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Print the byte counts') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'Print the byte counts') - [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'Print the character counts') - [CompletionResult]::new('--chars', 'chars', [CompletionResultType]::ParameterName, 'Print the character counts') - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'Print the line counts') - [CompletionResult]::new('--lines', 'lines', [CompletionResultType]::ParameterName, 'Print the line counts') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'Print the maximum display width') - [CompletionResult]::new('--max-line-length', 'max-line-length', [CompletionResultType]::ParameterName, 'Print the maximum display width') - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Print the word counts') - [CompletionResult]::new('--words', 'words', [CompletionResultType]::ParameterName, 'Print the word counts') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;which' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;whoami' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;yes' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'corebox;help' { - [CompletionResult]::new('base32', 'base32', [CompletionResultType]::ParameterValue, 'Base32 encode/decode data and print to standard output') - [CompletionResult]::new('base64', 'base64', [CompletionResultType]::ParameterValue, 'Base64 encode/decode data and print to standard output') - [CompletionResult]::new('basename', 'basename', [CompletionResultType]::ParameterValue, 'Print NAME with any leading directory components removed.') - [CompletionResult]::new('bootstrap', 'bootstrap', [CompletionResultType]::ParameterValue, 'Install shitbox into the filesystem') - [CompletionResult]::new('chgrp', 'chgrp', [CompletionResultType]::ParameterValue, 'change group ownership') - [CompletionResult]::new('chmod', 'chmod', [CompletionResultType]::ParameterValue, 'change file mode bits') - [CompletionResult]::new('chown', 'chown', [CompletionResultType]::ParameterValue, 'change file owner and group') - [CompletionResult]::new('chroot', 'chroot', [CompletionResultType]::ParameterValue, 'run command or interactive shell with special root directory') - [CompletionResult]::new('cut', 'cut', [CompletionResultType]::ParameterValue, 'cut out selected fields of each line of a file') - [CompletionResult]::new('dirname', 'dirname', [CompletionResultType]::ParameterValue, 'strip last component from file name') - [CompletionResult]::new('echo', 'echo', [CompletionResultType]::ParameterValue, 'Display a line of text') - [CompletionResult]::new('false', 'false', [CompletionResultType]::ParameterValue, 'Does nothing unsuccessfully') - [CompletionResult]::new('factor', 'factor', [CompletionResultType]::ParameterValue, 'factor numbers') - [CompletionResult]::new('fold', 'fold', [CompletionResultType]::ParameterValue, 'Wrap each input line to fit in specified width') - [CompletionResult]::new('groups', 'groups', [CompletionResultType]::ParameterValue, 'display current group names') - [CompletionResult]::new('head', 'head', [CompletionResultType]::ParameterValue, 'Display first lines of a file') - [CompletionResult]::new('hostid', 'hostid', [CompletionResultType]::ParameterValue, 'print the numeric identifier for the current host') - [CompletionResult]::new('hostname', 'hostname', [CompletionResultType]::ParameterValue, 'Prints the name of the current host. The super-user can set the host name by supplying an argument.') - [CompletionResult]::new('link', 'link', [CompletionResultType]::ParameterValue, 'call the link function to create a link to a file') - [CompletionResult]::new('ln', 'ln', [CompletionResultType]::ParameterValue, 'make links between files') - [CompletionResult]::new('logname', 'logname', [CompletionResultType]::ParameterValue, 'print user''s login name') - [CompletionResult]::new('mkfifo', 'mkfifo', [CompletionResultType]::ParameterValue, 'make FIFO special files') - [CompletionResult]::new('mknod', 'mknod', [CompletionResultType]::ParameterValue, 'make block or character special files') - [CompletionResult]::new('mktemp', 'mktemp', [CompletionResultType]::ParameterValue, 'create a unique temporary file') - [CompletionResult]::new('nologin', 'nologin', [CompletionResultType]::ParameterValue, 'Denies a user account login ability') - [CompletionResult]::new('nproc', 'nproc', [CompletionResultType]::ParameterValue, 'Print the number of processing units available') - [CompletionResult]::new('printenv', 'printenv', [CompletionResultType]::ParameterValue, 'print all or part of environment') - [CompletionResult]::new('pwd', 'pwd', [CompletionResultType]::ParameterValue, 'return working directory name') - [CompletionResult]::new('readlink', 'readlink', [CompletionResultType]::ParameterValue, 'Print symbolic link target or canonical file name') - [CompletionResult]::new('realpath', 'realpath', [CompletionResultType]::ParameterValue, 'return resolved physical path') - [CompletionResult]::new('rev', 'rev', [CompletionResultType]::ParameterValue, 'reverse lines characterwise') - [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'remove files or directories') - [CompletionResult]::new('rmdir', 'rmdir', [CompletionResultType]::ParameterValue, 'remove directories') - [CompletionResult]::new('sleep', 'sleep', [CompletionResultType]::ParameterValue, 'Suspend execution for an interval of time') - [CompletionResult]::new('sync', 'sync', [CompletionResultType]::ParameterValue, 'force completion of pending disk writes (flush cache)') - [CompletionResult]::new('true', 'true', [CompletionResultType]::ParameterValue, 'Does nothing successfully') - [CompletionResult]::new('unlink', 'unlink', [CompletionResultType]::ParameterValue, 'call the unlink function to remove the specified file') - [CompletionResult]::new('wc', 'wc', [CompletionResultType]::ParameterValue, 'Print newline, word, and byte counts for each file') - [CompletionResult]::new('which', 'which', [CompletionResultType]::ParameterValue, 'Write the full path of COMMAND(s) to standard output') - [CompletionResult]::new('whoami', 'whoami', [CompletionResultType]::ParameterValue, 'print effective user name') - [CompletionResult]::new('yes', 'yes', [CompletionResultType]::ParameterValue, 'output a string repeatedly until killed') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'corebox;help;base32' { - break - } - 'corebox;help;base64' { - break - } - 'corebox;help;basename' { - break - } - 'corebox;help;bootstrap' { - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - break - } - 'corebox;help;bootstrap;all' { - break - } - 'corebox;help;bootstrap;links' { - break - } - 'corebox;help;bootstrap;manpages' { - break - } - 'corebox;help;bootstrap;completions' { - break - } - 'corebox;help;chgrp' { - break - } - 'corebox;help;chmod' { - break - } - 'corebox;help;chown' { - break - } - 'corebox;help;chroot' { - break - } - 'corebox;help;cut' { - break - } - 'corebox;help;dirname' { - break - } - 'corebox;help;echo' { - break - } - 'corebox;help;false' { - break - } - 'corebox;help;factor' { - break - } - 'corebox;help;fold' { - break - } - 'corebox;help;groups' { - break - } - 'corebox;help;head' { - break - } - 'corebox;help;hostid' { - break - } - 'corebox;help;hostname' { - break - } - 'corebox;help;link' { - break - } - 'corebox;help;ln' { - break - } - 'corebox;help;logname' { - break - } - 'corebox;help;mkfifo' { - break - } - 'corebox;help;mknod' { - break - } - 'corebox;help;mktemp' { - break - } - 'corebox;help;nologin' { - break - } - 'corebox;help;nproc' { - break - } - 'corebox;help;printenv' { - break - } - 'corebox;help;pwd' { - break - } - 'corebox;help;readlink' { - break - } - 'corebox;help;realpath' { - break - } - 'corebox;help;rev' { - break - } - 'corebox;help;rm' { - break - } - 'corebox;help;rmdir' { - break - } - 'corebox;help;sleep' { - break - } - 'corebox;help;sync' { - break - } - 'corebox;help;true' { - break - } - 'corebox;help;unlink' { - break - } - 'corebox;help;wc' { - break - } - 'corebox;help;which' { - break - } - 'corebox;help;whoami' { - break - } - 'corebox;help;yes' { - break - } - 'corebox;help;help' { - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_cut.ps1 b/pkg/usr/share/pwsh/completions/_cut.ps1 deleted file mode 100644 index 175383e..0000000 --- a/pkg/usr/share/pwsh/completions/_cut.ps1 +++ /dev/null @@ -1,45 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'cut' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'cut' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'cut' { - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'select only these bytes') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'select only these bytes') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'select only these characters') - [CompletionResult]::new('--characters', 'characters', [CompletionResultType]::ParameterName, 'select only these characters') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'select only these fields') - [CompletionResult]::new('--fields', 'fields', [CompletionResultType]::ParameterName, 'select only these fields') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'use DELIM instead of TAB for field delimiter') - [CompletionResult]::new('--delimiter', 'delimiter', [CompletionResultType]::ParameterName, 'use DELIM instead of TAB for field delimiter') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'ignored') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 's') - [CompletionResult]::new('--only-delimited', 'only-delimited', [CompletionResultType]::ParameterName, 'only-delimited') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_dirname.ps1 b/pkg/usr/share/pwsh/completions/_dirname.ps1 deleted file mode 100644 index f21a4b7..0000000 --- a/pkg/usr/share/pwsh/completions/_dirname.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'dirname' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'dirname' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'dirname' { - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('--zero', 'zero', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_echo.ps1 b/pkg/usr/share/pwsh/completions/_echo.ps1 deleted file mode 100644 index 3603787..0000000 --- a/pkg/usr/share/pwsh/completions/_echo.ps1 +++ /dev/null @@ -1,33 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'echo' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'echo' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'echo' { - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Do not output a trailing newline') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_factor.ps1 b/pkg/usr/share/pwsh/completions/_factor.ps1 deleted file mode 100644 index 14d7482..0000000 --- a/pkg/usr/share/pwsh/completions/_factor.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'factor' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'factor' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'factor' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_false.ps1 b/pkg/usr/share/pwsh/completions/_false.ps1 deleted file mode 100644 index c6b0c71..0000000 --- a/pkg/usr/share/pwsh/completions/_false.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'false' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'false' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'false' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_fold.ps1 b/pkg/usr/share/pwsh/completions/_fold.ps1 deleted file mode 100644 index 7735966..0000000 --- a/pkg/usr/share/pwsh/completions/_fold.ps1 +++ /dev/null @@ -1,40 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'fold' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'fold' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'fold' { - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Use width columns') - [CompletionResult]::new('--width', 'width', [CompletionResultType]::ParameterName, 'Use width columns') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Count bytes rather than columns') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'Count bytes rather than columns') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Break at spaces') - [CompletionResult]::new('--spaces', 'spaces', [CompletionResultType]::ParameterName, 'Break at spaces') - [CompletionResult]::new('-o', 'o', [CompletionResultType]::ParameterName, 'Optimal fit') - [CompletionResult]::new('--optimal', 'optimal', [CompletionResultType]::ParameterName, 'Optimal fit') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_groups.ps1 b/pkg/usr/share/pwsh/completions/_groups.ps1 deleted file mode 100644 index 5201986..0000000 --- a/pkg/usr/share/pwsh/completions/_groups.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'groups' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'groups' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'groups' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_head.ps1 b/pkg/usr/share/pwsh/completions/_head.ps1 deleted file mode 100644 index aa5a286..0000000 --- a/pkg/usr/share/pwsh/completions/_head.ps1 +++ /dev/null @@ -1,43 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'head' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'head' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'head' { - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Count n number of lines (or bytes if -c is specified).') - [CompletionResult]::new('--lines', 'lines', [CompletionResultType]::ParameterName, 'Count n number of lines (or bytes if -c is specified).') - [CompletionResult]::new('-C', 'C', [CompletionResultType]::ParameterName, 'C') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-1', '1', [CompletionResultType]::ParameterName, '1') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Count bytes instead of lines') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'Count bytes instead of lines') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Disable printing a header. Overrides -c') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Disable printing a header. Overrides -c') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_hostid.ps1 b/pkg/usr/share/pwsh/completions/_hostid.ps1 deleted file mode 100644 index c5020ae..0000000 --- a/pkg/usr/share/pwsh/completions/_hostid.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'hostid' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'hostid' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'hostid' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_hostname.ps1 b/pkg/usr/share/pwsh/completions/_hostname.ps1 deleted file mode 100644 index af84702..0000000 --- a/pkg/usr/share/pwsh/completions/_hostname.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'hostname' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'hostname' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'hostname' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Removes any domain information from the printed name.') - [CompletionResult]::new('--strip', 'strip', [CompletionResultType]::ParameterName, 'Removes any domain information from the printed name.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_link.ps1 b/pkg/usr/share/pwsh/completions/_link.ps1 deleted file mode 100644 index 8620eaf..0000000 --- a/pkg/usr/share/pwsh/completions/_link.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'link' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'link' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'link' { - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_ln.ps1 b/pkg/usr/share/pwsh/completions/_ln.ps1 deleted file mode 100644 index c2bf099..0000000 --- a/pkg/usr/share/pwsh/completions/_ln.ps1 +++ /dev/null @@ -1,42 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'ln' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'ln' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'ln' { - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'remove existing destination files') - [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'remove existing destination files') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'make symbolic links instead of hard links') - [CompletionResult]::new('--symbolic', 'symbolic', [CompletionResultType]::ParameterName, 'make symbolic links instead of hard links') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'print name of each linked file') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'print name of each linked file') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link.') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_logname.ps1 b/pkg/usr/share/pwsh/completions/_logname.ps1 deleted file mode 100644 index 3ff941b..0000000 --- a/pkg/usr/share/pwsh/completions/_logname.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'logname' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'logname' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'logname' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_md5sum.ps1 b/pkg/usr/share/pwsh/completions/_md5sum.ps1 deleted file mode 100644 index 9832061..0000000 --- a/pkg/usr/share/pwsh/completions/_md5sum.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'md5sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'md5sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'md5sum' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_mkfifo.ps1 b/pkg/usr/share/pwsh/completions/_mkfifo.ps1 deleted file mode 100644 index d48c299..0000000 --- a/pkg/usr/share/pwsh/completions/_mkfifo.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'mkfifo' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'mkfifo' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'mkfifo' { - [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'Set the file permission bits of the newly-created FIFO to the specified mode value.') - [CompletionResult]::new('--mode', 'mode', [CompletionResultType]::ParameterName, 'Set the file permission bits of the newly-created FIFO to the specified mode value.') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_mknod.ps1 b/pkg/usr/share/pwsh/completions/_mknod.ps1 deleted file mode 100644 index 9343a38..0000000 --- a/pkg/usr/share/pwsh/completions/_mknod.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'mknod' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'mknod' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'mknod' { - [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'set file permission bits to MODE, not a=rw - umask') - [CompletionResult]::new('--mode', 'mode', [CompletionResultType]::ParameterName, 'set file permission bits to MODE, not a=rw - umask') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_mktemp.ps1 b/pkg/usr/share/pwsh/completions/_mktemp.ps1 deleted file mode 100644 index 7bb8af3..0000000 --- a/pkg/usr/share/pwsh/completions/_mktemp.ps1 +++ /dev/null @@ -1,42 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'mktemp' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'mktemp' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'mktemp' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'specify the directory to create temporary files in') - [CompletionResult]::new('--tmpdir', 'tmpdir', [CompletionResultType]::ParameterName, 'specify the directory to create temporary files in') - [CompletionResult]::new('-t', 't', [CompletionResultType]::ParameterName, 'specify a prefix to append to the created files') - [CompletionResult]::new('--template', 'template', [CompletionResultType]::ParameterName, 'specify a prefix to append to the created files') - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'create a directory instead of a file') - [CompletionResult]::new('--directory', 'directory', [CompletionResultType]::ParameterName, 'create a directory instead of a file') - [CompletionResult]::new('-u', 'u', [CompletionResultType]::ParameterName, 'immediately remove created files and directories') - [CompletionResult]::new('--dryrun', 'dryrun', [CompletionResultType]::ParameterName, 'immediately remove created files and directories') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_mountpoint.ps1 b/pkg/usr/share/pwsh/completions/_mountpoint.ps1 deleted file mode 100644 index 050754c..0000000 --- a/pkg/usr/share/pwsh/completions/_mountpoint.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'mountpoint' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'mountpoint' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'mountpoint' { - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the device that is mounted on the given directory.') - [CompletionResult]::new('--fs-devno', 'fs-devno', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the device that is mounted on the given directory.') - [CompletionResult]::new('-x', 'x', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the given blockdevice on standard output.') - [CompletionResult]::new('--devno', 'devno', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the given blockdevice on standard output.') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Be quiet - don’t print anything.') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Be quiet - don’t print anything.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_nologin.ps1 b/pkg/usr/share/pwsh/completions/_nologin.ps1 deleted file mode 100644 index 1a23028..0000000 --- a/pkg/usr/share/pwsh/completions/_nologin.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'nologin' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'nologin' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'nologin' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_nproc.ps1 b/pkg/usr/share/pwsh/completions/_nproc.ps1 deleted file mode 100644 index 0c0c154..0000000 --- a/pkg/usr/share/pwsh/completions/_nproc.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'nproc' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'nproc' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'nproc' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Print the number of installed processors') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Print the number of installed processors') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_printenv.ps1 b/pkg/usr/share/pwsh/completions/_printenv.ps1 deleted file mode 100644 index 6430623..0000000 --- a/pkg/usr/share/pwsh/completions/_printenv.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'printenv' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'printenv' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'printenv' { - [CompletionResult]::new('-0', '0', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('--null', 'null', [CompletionResultType]::ParameterName, 'end each output line with NUL, not newline') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_pwd.ps1 b/pkg/usr/share/pwsh/completions/_pwd.ps1 deleted file mode 100644 index ab0dba3..0000000 --- a/pkg/usr/share/pwsh/completions/_pwd.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'pwd' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'pwd' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'pwd' { - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'use PWD from environment, even if it contains symlinks') - [CompletionResult]::new('--logical', 'logical', [CompletionResultType]::ParameterName, 'use PWD from environment, even if it contains symlinks') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'avoid all symlinks') - [CompletionResult]::new('--physical', 'physical', [CompletionResultType]::ParameterName, 'avoid all symlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_readlink.ps1 b/pkg/usr/share/pwsh/completions/_readlink.ps1 deleted file mode 100644 index 1529c7b..0000000 --- a/pkg/usr/share/pwsh/completions/_readlink.ps1 +++ /dev/null @@ -1,39 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'readlink' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'readlink' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'readlink' { - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Canonicalize path') - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Canonicalize path') - [CompletionResult]::new('--canonicalize', 'canonicalize', [CompletionResultType]::ParameterName, 'Canonicalize path') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Do not print the terminating newline.') - [CompletionResult]::new('--no-newline', 'no-newline', [CompletionResultType]::ParameterName, 'Do not print the terminating newline.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_realpath.ps1 b/pkg/usr/share/pwsh/completions/_realpath.ps1 deleted file mode 100644 index 857c6a2..0000000 --- a/pkg/usr/share/pwsh/completions/_realpath.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'realpath' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'realpath' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'realpath' { - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'ignore warnings') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'ignore warnings') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_rev.ps1 b/pkg/usr/share/pwsh/completions/_rev.ps1 deleted file mode 100644 index 5f24077..0000000 --- a/pkg/usr/share/pwsh/completions/_rev.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'rev' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'rev' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'rev' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'c') - [CompletionResult]::new('--color', 'color', [CompletionResultType]::ParameterName, 'color') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_rm.ps1 b/pkg/usr/share/pwsh/completions/_rm.ps1 deleted file mode 100644 index 5dd11ec..0000000 --- a/pkg/usr/share/pwsh/completions/_rm.ps1 +++ /dev/null @@ -1,44 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'rm' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'rm' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'rm' { - [CompletionResult]::new('--interactive', 'interactive', [CompletionResultType]::ParameterName, 'when to prompt') - [CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'prompt before every removal') - [CompletionResult]::new('-I', 'I', [CompletionResultType]::ParameterName, 'prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'ignore nonexistent files and arguments, never prompt') - [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'ignore nonexistent files and arguments, never prompt') - [CompletionResult]::new('-R', 'R', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'operate on files and directories recursively') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_rmdir.ps1 b/pkg/usr/share/pwsh/completions/_rmdir.ps1 deleted file mode 100644 index feb6045..0000000 --- a/pkg/usr/share/pwsh/completions/_rmdir.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'rmdir' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'rmdir' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'rmdir' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'remove DIRECTORY and it''s ancestors') - [CompletionResult]::new('--parents', 'parents', [CompletionResultType]::ParameterName, 'remove DIRECTORY and it''s ancestors') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sha1sum.ps1 b/pkg/usr/share/pwsh/completions/_sha1sum.ps1 deleted file mode 100644 index 1bdfe4c..0000000 --- a/pkg/usr/share/pwsh/completions/_sha1sum.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sha1sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sha1sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sha1sum' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sha224sum.ps1 b/pkg/usr/share/pwsh/completions/_sha224sum.ps1 deleted file mode 100644 index 7807d16..0000000 --- a/pkg/usr/share/pwsh/completions/_sha224sum.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sha224sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sha224sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sha224sum' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sha256sum.ps1 b/pkg/usr/share/pwsh/completions/_sha256sum.ps1 deleted file mode 100644 index ad5650a..0000000 --- a/pkg/usr/share/pwsh/completions/_sha256sum.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sha256sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sha256sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sha256sum' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sha384sum.ps1 b/pkg/usr/share/pwsh/completions/_sha384sum.ps1 deleted file mode 100644 index c45a4ec..0000000 --- a/pkg/usr/share/pwsh/completions/_sha384sum.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sha384sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sha384sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sha384sum' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sha512sum.ps1 b/pkg/usr/share/pwsh/completions/_sha512sum.ps1 deleted file mode 100644 index 9bcbd37..0000000 --- a/pkg/usr/share/pwsh/completions/_sha512sum.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sha512sum' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sha512sum' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sha512sum' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('--check', 'check', [CompletionResultType]::ParameterName, 'read checksums from the FILEs and check them') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sleep.ps1 b/pkg/usr/share/pwsh/completions/_sleep.ps1 deleted file mode 100644 index 000d0bb..0000000 --- a/pkg/usr/share/pwsh/completions/_sleep.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sleep' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sleep' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sleep' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_swaplabel.ps1 b/pkg/usr/share/pwsh/completions/_swaplabel.ps1 deleted file mode 100644 index 3352dbe..0000000 --- a/pkg/usr/share/pwsh/completions/_swaplabel.ps1 +++ /dev/null @@ -1,37 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'swaplabel' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'swaplabel' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'swaplabel' { - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'set the label') - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'set the label') - [CompletionResult]::new('--label', 'label', [CompletionResultType]::ParameterName, 'set the label') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_swapoff.ps1 b/pkg/usr/share/pwsh/completions/_swapoff.ps1 deleted file mode 100644 index ac5197c..0000000 --- a/pkg/usr/share/pwsh/completions/_swapoff.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'swapoff' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'swapoff' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'swapoff' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Disable swapping on all known swap devices and files as found in /etc/fstab.') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Disable swapping on all known swap devices and files as found in /etc/fstab.') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_sync.ps1 b/pkg/usr/share/pwsh/completions/_sync.ps1 deleted file mode 100644 index ce327c4..0000000 --- a/pkg/usr/share/pwsh/completions/_sync.ps1 +++ /dev/null @@ -1,38 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'sync' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'sync' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'sync' { - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'sync only file data, no unneeded metadata') - [CompletionResult]::new('--data', 'data', [CompletionResultType]::ParameterName, 'sync only file data, no unneeded metadata') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'sync the file systems that contain the files') - [CompletionResult]::new('--file-system', 'file-system', [CompletionResultType]::ParameterName, 'sync the file systems that contain the files') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_true.ps1 b/pkg/usr/share/pwsh/completions/_true.ps1 deleted file mode 100644 index fafb508..0000000 --- a/pkg/usr/share/pwsh/completions/_true.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'true' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'true' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'true' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_umount.ps1 b/pkg/usr/share/pwsh/completions/_umount.ps1 deleted file mode 100644 index cf8dd80..0000000 --- a/pkg/usr/share/pwsh/completions/_umount.ps1 +++ /dev/null @@ -1,45 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'umount' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'umount' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'umount' { - [CompletionResult]::new('-t', 't', [CompletionResultType]::ParameterName, 'Indicate that the actions should only be taken on filesystems of the specified type.') - [CompletionResult]::new('--types', 'types', [CompletionResultType]::ParameterName, 'Indicate that the actions should only be taken on filesystems of the specified type.') - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Force an unmount (in case of an unreachable NFS system).') - [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'Force an unmount (in case of an unreachable NFS system).') - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.') - [CompletionResult]::new('--lazy', 'lazy', [CompletionResultType]::ParameterName, 'Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_unlink.ps1 b/pkg/usr/share/pwsh/completions/_unlink.ps1 deleted file mode 100644 index fcbc54b..0000000 --- a/pkg/usr/share/pwsh/completions/_unlink.ps1 +++ /dev/null @@ -1,36 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'unlink' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'unlink' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'unlink' { - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_utilbox.ps1 b/pkg/usr/share/pwsh/completions/_utilbox.ps1 deleted file mode 100644 index 3e5d655..0000000 --- a/pkg/usr/share/pwsh/completions/_utilbox.ps1 +++ /dev/null @@ -1,244 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'utilbox' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'utilbox' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'utilbox' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('bootstrap', 'bootstrap', [CompletionResultType]::ParameterValue, 'Install shitbox into the filesystem') - [CompletionResult]::new('clear', 'clear', [CompletionResultType]::ParameterValue, 'clear the terminal''s screen') - [CompletionResult]::new('mountpoint', 'mountpoint', [CompletionResultType]::ParameterValue, 'see if a directory or file is a mountpoint') - [CompletionResult]::new('swaplabel', 'swaplabel', [CompletionResultType]::ParameterValue, 'set the label of a swap filesystem') - [CompletionResult]::new('swapoff', 'swapoff', [CompletionResultType]::ParameterValue, 'disable devices and files for paging and swapping') - [CompletionResult]::new('umount', 'umount', [CompletionResultType]::ParameterValue, 'unmount filesystems') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'utilbox;bootstrap' { - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'The directory path under which to install') - [CompletionResult]::new('--prefix', 'prefix', [CompletionResultType]::ParameterName, 'The directory path under which to install') - [CompletionResult]::new('-u', 'u', [CompletionResultType]::ParameterName, 'Use /usr') - [CompletionResult]::new('--usr', 'usr', [CompletionResultType]::ParameterName, 'Use /usr') - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'utilbox;bootstrap;all' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('--bash', 'bash', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('--fish', 'fish', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('--nu', 'nu', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('--pwsh', 'pwsh', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('--zsh', 'zsh', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;bootstrap;links' { - [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('--soft', 'soft', [CompletionResultType]::ParameterName, 'Install soft links instead of hardlinks') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;bootstrap;manpages' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;bootstrap;completions' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Install completions for all supported shells') - [CompletionResult]::new('-b', 'b', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('--bash', 'bash', [CompletionResultType]::ParameterName, 'Bash shell completions') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('--fish', 'fish', [CompletionResultType]::ParameterName, 'Fish shell completions') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('--nu', 'nu', [CompletionResultType]::ParameterName, 'Nushell completions') - [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('--pwsh', 'pwsh', [CompletionResultType]::ParameterName, 'PowerShell completions') - [CompletionResult]::new('-z', 'z', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('--zsh', 'zsh', [CompletionResultType]::ParameterName, 'Zshell completions') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;bootstrap;help' { - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'utilbox;bootstrap;help;all' { - break - } - 'utilbox;bootstrap;help;links' { - break - } - 'utilbox;bootstrap;help;manpages' { - break - } - 'utilbox;bootstrap;help;completions' { - break - } - 'utilbox;bootstrap;help;help' { - break - } - 'utilbox;clear' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;mountpoint' { - [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the device that is mounted on the given directory.') - [CompletionResult]::new('--fs-devno', 'fs-devno', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the device that is mounted on the given directory.') - [CompletionResult]::new('-x', 'x', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the given blockdevice on standard output.') - [CompletionResult]::new('--devno', 'devno', [CompletionResultType]::ParameterName, 'Show the major/minor numbers of the given blockdevice on standard output.') - [CompletionResult]::new('-q', 'q', [CompletionResultType]::ParameterName, 'Be quiet - don’t print anything.') - [CompletionResult]::new('--quiet', 'quiet', [CompletionResultType]::ParameterName, 'Be quiet - don’t print anything.') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;swaplabel' { - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'set the label') - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'set the label') - [CompletionResult]::new('--label', 'label', [CompletionResultType]::ParameterName, 'set the label') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;swapoff' { - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Disable swapping on all known swap devices and files as found in /etc/fstab.') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Disable swapping on all known swap devices and files as found in /etc/fstab.') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;umount' { - [CompletionResult]::new('-t', 't', [CompletionResultType]::ParameterName, 'Indicate that the actions should only be taken on filesystems of the specified type.') - [CompletionResult]::new('--types', 'types', [CompletionResultType]::ParameterName, 'Indicate that the actions should only be taken on filesystems of the specified type.') - [CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.') - [CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.') - [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Force an unmount (in case of an unreachable NFS system).') - [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'Force an unmount (in case of an unreachable NFS system).') - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.') - [CompletionResult]::new('--lazy', 'lazy', [CompletionResultType]::ParameterName, 'Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.') - [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.') - [CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'output a diagnostic for every file processed') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - 'utilbox;help' { - [CompletionResult]::new('bootstrap', 'bootstrap', [CompletionResultType]::ParameterValue, 'Install shitbox into the filesystem') - [CompletionResult]::new('clear', 'clear', [CompletionResultType]::ParameterValue, 'clear the terminal''s screen') - [CompletionResult]::new('mountpoint', 'mountpoint', [CompletionResultType]::ParameterValue, 'see if a directory or file is a mountpoint') - [CompletionResult]::new('swaplabel', 'swaplabel', [CompletionResultType]::ParameterValue, 'set the label of a swap filesystem') - [CompletionResult]::new('swapoff', 'swapoff', [CompletionResultType]::ParameterValue, 'disable devices and files for paging and swapping') - [CompletionResult]::new('umount', 'umount', [CompletionResultType]::ParameterValue, 'unmount filesystems') - [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') - break - } - 'utilbox;help;bootstrap' { - [CompletionResult]::new('all', 'all', [CompletionResultType]::ParameterValue, 'Install everything') - [CompletionResult]::new('links', 'links', [CompletionResultType]::ParameterValue, 'Install links for each applet') - [CompletionResult]::new('manpages', 'manpages', [CompletionResultType]::ParameterValue, 'Install Unix man pages') - [CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Install shell completions') - break - } - 'utilbox;help;bootstrap;all' { - break - } - 'utilbox;help;bootstrap;links' { - break - } - 'utilbox;help;bootstrap;manpages' { - break - } - 'utilbox;help;bootstrap;completions' { - break - } - 'utilbox;help;clear' { - break - } - 'utilbox;help;mountpoint' { - break - } - 'utilbox;help;swaplabel' { - break - } - 'utilbox;help;swapoff' { - break - } - 'utilbox;help;umount' { - break - } - 'utilbox;help;help' { - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_wc.ps1 b/pkg/usr/share/pwsh/completions/_wc.ps1 deleted file mode 100644 index 717fa7f..0000000 --- a/pkg/usr/share/pwsh/completions/_wc.ps1 +++ /dev/null @@ -1,44 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'wc' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'wc' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'wc' { - [CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Print the byte counts') - [CompletionResult]::new('--bytes', 'bytes', [CompletionResultType]::ParameterName, 'Print the byte counts') - [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'Print the character counts') - [CompletionResult]::new('--chars', 'chars', [CompletionResultType]::ParameterName, 'Print the character counts') - [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'Print the line counts') - [CompletionResult]::new('--lines', 'lines', [CompletionResultType]::ParameterName, 'Print the line counts') - [CompletionResult]::new('-L', 'L', [CompletionResultType]::ParameterName, 'Print the maximum display width') - [CompletionResult]::new('--max-line-length', 'max-line-length', [CompletionResultType]::ParameterName, 'Print the maximum display width') - [CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Print the word counts') - [CompletionResult]::new('--words', 'words', [CompletionResultType]::ParameterName, 'Print the word counts') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_which.ps1 b/pkg/usr/share/pwsh/completions/_which.ps1 deleted file mode 100644 index eeebc73..0000000 --- a/pkg/usr/share/pwsh/completions/_which.ps1 +++ /dev/null @@ -1,34 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'which' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'which' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'which' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') - [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_whoami.ps1 b/pkg/usr/share/pwsh/completions/_whoami.ps1 deleted file mode 100644 index 6b914c8..0000000 --- a/pkg/usr/share/pwsh/completions/_whoami.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'whoami' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'whoami' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'whoami' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/pwsh/completions/_yes.ps1 b/pkg/usr/share/pwsh/completions/_yes.ps1 deleted file mode 100644 index d648a37..0000000 --- a/pkg/usr/share/pwsh/completions/_yes.ps1 +++ /dev/null @@ -1,32 +0,0 @@ - -using namespace System.Management.Automation -using namespace System.Management.Automation.Language - -Register-ArgumentCompleter -Native -CommandName 'yes' -ScriptBlock { - param($wordToComplete, $commandAst, $cursorPosition) - - $commandElements = $commandAst.CommandElements - $command = @( - 'yes' - for ($i = 1; $i -lt $commandElements.Count; $i++) { - $element = $commandElements[$i] - if ($element -isnot [StringConstantExpressionAst] -or - $element.StringConstantType -ne [StringConstantType]::BareWord -or - $element.Value.StartsWith('-') -or - $element.Value -eq $wordToComplete) { - break - } - $element.Value - }) -join ';' - - $completions = @(switch ($command) { - 'yes' { - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - break - } - }) - - $completions.Where{ $_.CompletionText -like "$wordToComplete*" } | - Sort-Object -Property ListItemText -} diff --git a/pkg/usr/share/zsh/site-functions/_b2sum b/pkg/usr/share/zsh/site-functions/_b2sum deleted file mode 100644 index 5bfdefc..0000000 --- a/pkg/usr/share/zsh/site-functions/_b2sum +++ /dev/null @@ -1,36 +0,0 @@ -#compdef b2sum - -autoload -U is-at-least - -_b2sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-l+[digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8]: : ' \ -'--length=[digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8]: : ' \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_b2sum_commands] )) || -_b2sum_commands() { - local commands; commands=() - _describe -t commands 'b2sum commands' commands "$@" -} - -_b2sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_base32 b/pkg/usr/share/zsh/site-functions/_base32 deleted file mode 100644 index 8f3cab7..0000000 --- a/pkg/usr/share/zsh/site-functions/_base32 +++ /dev/null @@ -1,42 +0,0 @@ -#compdef base32 - -autoload -U is-at-least - -_base32() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-w+[Wrap encoded lines after n characters]: : ' \ -'--wrap=[Wrap encoded lines after n characters]: : ' \ -'-c+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'-d[Decode rather than encode]' \ -'--decode[Decode rather than encode]' \ -'-i[Ignore whitespace when decoding]' \ -'--ignore-space[Ignore whitespace when decoding]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-q[Do not display header, even with multiple files]' \ -'--quiet[Do not display header, even with multiple files]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_base32_commands] )) || -_base32_commands() { - local commands; commands=() - _describe -t commands 'base32 commands' commands "$@" -} - -_base32 "$@" diff --git a/pkg/usr/share/zsh/site-functions/_base64 b/pkg/usr/share/zsh/site-functions/_base64 deleted file mode 100644 index eca88c0..0000000 --- a/pkg/usr/share/zsh/site-functions/_base64 +++ /dev/null @@ -1,42 +0,0 @@ -#compdef base64 - -autoload -U is-at-least - -_base64() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-w+[Wrap encoded lines after n characters]: : ' \ -'--wrap=[Wrap encoded lines after n characters]: : ' \ -'-c+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'-d[Decode rather than encode]' \ -'--decode[Decode rather than encode]' \ -'-i[Ignore whitespace when decoding]' \ -'--ignore-space[Ignore whitespace when decoding]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-q[Do not display header, even with multiple files]' \ -'--quiet[Do not display header, even with multiple files]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_base64_commands] )) || -_base64_commands() { - local commands; commands=() - _describe -t commands 'base64 commands' commands "$@" -} - -_base64 "$@" diff --git a/pkg/usr/share/zsh/site-functions/_basename b/pkg/usr/share/zsh/site-functions/_basename deleted file mode 100644 index c156ca5..0000000 --- a/pkg/usr/share/zsh/site-functions/_basename +++ /dev/null @@ -1,31 +0,0 @@ -#compdef basename - -autoload -U is-at-least - -_basename() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -':NAME -- the filename to process:' \ -'::SUFFIX -- the suffix to be removed:' \ -&& ret=0 -} - -(( $+functions[_basename_commands] )) || -_basename_commands() { - local commands; commands=() - _describe -t commands 'basename commands' commands "$@" -} - -_basename "$@" diff --git a/pkg/usr/share/zsh/site-functions/_bootstrap b/pkg/usr/share/zsh/site-functions/_bootstrap deleted file mode 100644 index 9006d29..0000000 --- a/pkg/usr/share/zsh/site-functions/_bootstrap +++ /dev/null @@ -1,198 +0,0 @@ -#compdef bootstrap - -autoload -U is-at-least - -_bootstrap() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-p+[The directory path under which to install]: : ' \ -'--prefix=[The directory path under which to install]: : ' \ -'-u[Use /usr]' \ -'--usr[Use /usr]' \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -":: :_bootstrap_commands" \ -"*::: :->bootstrap" \ -&& ret=0 - case $state in - (bootstrap) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:bootstrap-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'(-b --bash -f --fish -n --nu -p --pwsh -z --zsh)-a[Install completions for all supported shells]' \ -'(-b --bash -f --fish -n --nu -p --pwsh -z --zsh)--all[Install completions for all supported shells]' \ -'-b[Bash shell completions]' \ -'--bash[Bash shell completions]' \ -'-f[Fish shell completions]' \ -'--fish[Fish shell completions]' \ -'-n[Nushell completions]' \ -'--nu[Nushell completions]' \ -'-p[PowerShell completions]' \ -'--pwsh[PowerShell completions]' \ -'-z[Zshell completions]' \ -'--zsh[Zshell completions]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -'-a[Install completions for all supported shells]' \ -'--all[Install completions for all supported shells]' \ -'-b[Bash shell completions]' \ -'--bash[Bash shell completions]' \ -'-f[Fish shell completions]' \ -'--fish[Fish shell completions]' \ -'-n[Nushell completions]' \ -'--nu[Nushell completions]' \ -'-p[PowerShell completions]' \ -'--pwsh[PowerShell completions]' \ -'-z[Zshell completions]' \ -'--zsh[Zshell completions]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_bootstrap__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:bootstrap-help-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -} - -(( $+functions[_bootstrap_commands] )) || -_bootstrap_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'bootstrap commands' commands "$@" -} -(( $+functions[_bootstrap__all_commands] )) || -_bootstrap__all_commands() { - local commands; commands=() - _describe -t commands 'bootstrap all commands' commands "$@" -} -(( $+functions[_bootstrap__help__all_commands] )) || -_bootstrap__help__all_commands() { - local commands; commands=() - _describe -t commands 'bootstrap help all commands' commands "$@" -} -(( $+functions[_bootstrap__completions_commands] )) || -_bootstrap__completions_commands() { - local commands; commands=() - _describe -t commands 'bootstrap completions commands' commands "$@" -} -(( $+functions[_bootstrap__help__completions_commands] )) || -_bootstrap__help__completions_commands() { - local commands; commands=() - _describe -t commands 'bootstrap help completions commands' commands "$@" -} -(( $+functions[_bootstrap__help_commands] )) || -_bootstrap__help_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'bootstrap help commands' commands "$@" -} -(( $+functions[_bootstrap__help__help_commands] )) || -_bootstrap__help__help_commands() { - local commands; commands=() - _describe -t commands 'bootstrap help help commands' commands "$@" -} -(( $+functions[_bootstrap__help__links_commands] )) || -_bootstrap__help__links_commands() { - local commands; commands=() - _describe -t commands 'bootstrap help links commands' commands "$@" -} -(( $+functions[_bootstrap__links_commands] )) || -_bootstrap__links_commands() { - local commands; commands=() - _describe -t commands 'bootstrap links commands' commands "$@" -} -(( $+functions[_bootstrap__help__manpages_commands] )) || -_bootstrap__help__manpages_commands() { - local commands; commands=() - _describe -t commands 'bootstrap help manpages commands' commands "$@" -} -(( $+functions[_bootstrap__manpages_commands] )) || -_bootstrap__manpages_commands() { - local commands; commands=() - _describe -t commands 'bootstrap manpages commands' commands "$@" -} - -_bootstrap "$@" diff --git a/pkg/usr/share/zsh/site-functions/_chgrp b/pkg/usr/share/zsh/site-functions/_chgrp deleted file mode 100644 index caa61e4..0000000 --- a/pkg/usr/share/zsh/site-functions/_chgrp +++ /dev/null @@ -1,44 +0,0 @@ -#compdef chgrp - -autoload -U is-at-least - -_chgrp() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'(-v --verbose)-c[report only when a change is made]' \ -'(-v --verbose)--changes[report only when a change is made]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-H[if a command line argument is a symbolic link to a directory, traverse it]' \ -'-L[traverse every symbolic link encountered in a directory]' \ -'-P[do not traverse any symbolic links (default)]' \ -'-s[do not cross filesystem boundaries (requires recursive)]' \ -'--same-filesystem[do not cross filesystem boundaries (requires recursive)]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':group:_users' \ -'*::file:_files' \ -&& ret=0 -} - -(( $+functions[_chgrp_commands] )) || -_chgrp_commands() { - local commands; commands=() - _describe -t commands 'chgrp commands' commands "$@" -} - -_chgrp "$@" diff --git a/pkg/usr/share/zsh/site-functions/_chmod b/pkg/usr/share/zsh/site-functions/_chmod deleted file mode 100644 index 1c6d04f..0000000 --- a/pkg/usr/share/zsh/site-functions/_chmod +++ /dev/null @@ -1,42 +0,0 @@ -#compdef chmod - -autoload -U is-at-least - -_chmod() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'(-v --verbose)-c[report only when a change is made]' \ -'(-v --verbose)--changes[report only when a change is made]' \ -'-f[suppress most error messages]' \ -'--silent[suppress most error messages]' \ -'--quiet[suppress most error messages]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':mode:' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_chmod_commands] )) || -_chmod_commands() { - local commands; commands=() - _describe -t commands 'chmod commands' commands "$@" -} - -_chmod "$@" diff --git a/pkg/usr/share/zsh/site-functions/_chown b/pkg/usr/share/zsh/site-functions/_chown deleted file mode 100644 index 33f3353..0000000 --- a/pkg/usr/share/zsh/site-functions/_chown +++ /dev/null @@ -1,44 +0,0 @@ -#compdef chown - -autoload -U is-at-least - -_chown() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'(-v --verbose)-c[report only when a change is made]' \ -'(-v --verbose)--changes[report only when a change is made]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-H[if a command line argument is a symbolic link to a directory, traverse it]' \ -'-L[traverse every symbolic link encountered in a directory]' \ -'-P[do not traverse any symbolic links (default)]' \ -'-s[do not cross filesystem boundaries (requires recursive)]' \ -'--same-filesystem[do not cross filesystem boundaries (requires recursive)]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':user:_users' \ -'*::file:_files' \ -&& ret=0 -} - -(( $+functions[_chown_commands] )) || -_chown_commands() { - local commands; commands=() - _describe -t commands 'chown commands' commands "$@" -} - -_chown "$@" diff --git a/pkg/usr/share/zsh/site-functions/_chroot b/pkg/usr/share/zsh/site-functions/_chroot deleted file mode 100644 index bdf5ab6..0000000 --- a/pkg/usr/share/zsh/site-functions/_chroot +++ /dev/null @@ -1,36 +0,0 @@ -#compdef chroot - -autoload -U is-at-least - -_chroot() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-d+[change to this directory after performing the chroot instead of '\''/'\'']:DIRECTORY: ' \ -'--directory=[change to this directory after performing the chroot instead of '\''/'\'']:DIRECTORY: ' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':newroot:' \ -'::command:' \ -'*::arg:' \ -&& ret=0 -} - -(( $+functions[_chroot_commands] )) || -_chroot_commands() { - local commands; commands=() - _describe -t commands 'chroot commands' commands "$@" -} - -_chroot "$@" diff --git a/pkg/usr/share/zsh/site-functions/_clear b/pkg/usr/share/zsh/site-functions/_clear deleted file mode 100644 index 8d4a0e6..0000000 --- a/pkg/usr/share/zsh/site-functions/_clear +++ /dev/null @@ -1,31 +0,0 @@ -#compdef clear - -autoload -U is-at-least - -_clear() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -} - -(( $+functions[_clear_commands] )) || -_clear_commands() { - local commands; commands=() - _describe -t commands 'clear commands' commands "$@" -} - -_clear "$@" diff --git a/pkg/usr/share/zsh/site-functions/_corebox b/pkg/usr/share/zsh/site-functions/_corebox deleted file mode 100644 index d076e74..0000000 --- a/pkg/usr/share/zsh/site-functions/_corebox +++ /dev/null @@ -1,1498 +0,0 @@ -#compdef corebox - -autoload -U is-at-least - -_corebox() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -":: :_corebox_commands" \ -"*::: :->corebox" \ -&& ret=0 - case $state in - (corebox) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:corebox-command-$line[1]:" - case $line[1] in - (base32) -_arguments "${_arguments_options[@]}" \ -'-w+[Wrap encoded lines after n characters]: : ' \ -'--wrap=[Wrap encoded lines after n characters]: : ' \ -'-c+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'-d[Decode rather than encode]' \ -'--decode[Decode rather than encode]' \ -'-i[Ignore whitespace when decoding]' \ -'--ignore-space[Ignore whitespace when decoding]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-q[Do not display header, even with multiple files]' \ -'--quiet[Do not display header, even with multiple files]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -;; -(base64) -_arguments "${_arguments_options[@]}" \ -'-w+[Wrap encoded lines after n characters]: : ' \ -'--wrap=[Wrap encoded lines after n characters]: : ' \ -'-c+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'-d[Decode rather than encode]' \ -'--decode[Decode rather than encode]' \ -'-i[Ignore whitespace when decoding]' \ -'--ignore-space[Ignore whitespace when decoding]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-q[Do not display header, even with multiple files]' \ -'--quiet[Do not display header, even with multiple files]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -;; -(basename) -_arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':NAME -- the filename to process:' \ -'::SUFFIX -- the suffix to be removed:' \ -&& ret=0 -;; -(bootstrap) -_arguments "${_arguments_options[@]}" \ -'-p+[The directory path under which to install]: : ' \ -'--prefix=[The directory path under which to install]: : ' \ -'-u[Use /usr]' \ -'--usr[Use /usr]' \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -":: :_corebox__bootstrap_commands" \ -"*::: :->bootstrap" \ -&& ret=0 - - case $state in - (bootstrap) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:corebox-bootstrap-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'(-b --bash -f --fish -n --nu -p --pwsh -z --zsh)-a[Install completions for all supported shells]' \ -'(-b --bash -f --fish -n --nu -p --pwsh -z --zsh)--all[Install completions for all supported shells]' \ -'-b[Bash shell completions]' \ -'--bash[Bash shell completions]' \ -'-f[Fish shell completions]' \ -'--fish[Fish shell completions]' \ -'-n[Nushell completions]' \ -'--nu[Nushell completions]' \ -'-p[PowerShell completions]' \ -'--pwsh[PowerShell completions]' \ -'-z[Zshell completions]' \ -'--zsh[Zshell completions]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -'-a[Install completions for all supported shells]' \ -'--all[Install completions for all supported shells]' \ -'-b[Bash shell completions]' \ -'--bash[Bash shell completions]' \ -'-f[Fish shell completions]' \ -'--fish[Fish shell completions]' \ -'-n[Nushell completions]' \ -'--nu[Nushell completions]' \ -'-p[PowerShell completions]' \ -'--pwsh[PowerShell completions]' \ -'-z[Zshell completions]' \ -'--zsh[Zshell completions]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_corebox__bootstrap__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:corebox-bootstrap-help-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -;; -(chgrp) -_arguments "${_arguments_options[@]}" \ -'(-v --verbose)-c[report only when a change is made]' \ -'(-v --verbose)--changes[report only when a change is made]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-H[if a command line argument is a symbolic link to a directory, traverse it]' \ -'-L[traverse every symbolic link encountered in a directory]' \ -'-P[do not traverse any symbolic links (default)]' \ -'-s[do not cross filesystem boundaries (requires recursive)]' \ -'--same-filesystem[do not cross filesystem boundaries (requires recursive)]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':group:_users' \ -'*::file:_files' \ -&& ret=0 -;; -(chmod) -_arguments "${_arguments_options[@]}" \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'(-v --verbose)-c[report only when a change is made]' \ -'(-v --verbose)--changes[report only when a change is made]' \ -'-f[suppress most error messages]' \ -'--silent[suppress most error messages]' \ -'--quiet[suppress most error messages]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':mode:' \ -'*::file:' \ -&& ret=0 -;; -(chown) -_arguments "${_arguments_options[@]}" \ -'(-v --verbose)-c[report only when a change is made]' \ -'(-v --verbose)--changes[report only when a change is made]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-H[if a command line argument is a symbolic link to a directory, traverse it]' \ -'-L[traverse every symbolic link encountered in a directory]' \ -'-P[do not traverse any symbolic links (default)]' \ -'-s[do not cross filesystem boundaries (requires recursive)]' \ -'--same-filesystem[do not cross filesystem boundaries (requires recursive)]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':user:_users' \ -'*::file:_files' \ -&& ret=0 -;; -(chroot) -_arguments "${_arguments_options[@]}" \ -'-d+[change to this directory after performing the chroot instead of '\''/'\'']:DIRECTORY: ' \ -'--directory=[change to this directory after performing the chroot instead of '\''/'\'']:DIRECTORY: ' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':newroot:' \ -'::command:' \ -'*::arg:' \ -&& ret=0 -;; -(cut) -_arguments "${_arguments_options[@]}" \ -'-b+[select only these bytes]:LIST: ' \ -'--bytes=[select only these bytes]:LIST: ' \ -'-c+[select only these characters]:LIST: ' \ -'--characters=[select only these characters]:LIST: ' \ -'-f+[select only these fields]:LIST: ' \ -'--fields=[select only these fields]:LIST: ' \ -'-d+[use DELIM instead of TAB for field delimiter]:DELIM: ' \ -'--delimiter=[use DELIM instead of TAB for field delimiter]:DELIM: ' \ -'-n+[ignored]: : ' \ -'-s[]' \ -'--only-delimited[]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -;; -(dirname) -_arguments "${_arguments_options[@]}" \ -'-z[end each output line with NUL, not newline]' \ -'--zero[end each output line with NUL, not newline]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::name:' \ -&& ret=0 -;; -(echo) -_arguments "${_arguments_options[@]}" \ -'-n+[Do not output a trailing newline]: : ' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::STRING:' \ -&& ret=0 -;; -(false) -_arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(factor) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::number -- the numbers to factor:' \ -&& ret=0 -;; -(fold) -_arguments "${_arguments_options[@]}" \ -'-w+[Use width columns]: : ' \ -'--width=[Use width columns]: : ' \ -'-b[Count bytes rather than columns]' \ -'--bytes[Count bytes rather than columns]' \ -'-s[Break at spaces]' \ -'--spaces[Break at spaces]' \ -'(-b --bytes -s --spaces)-o[Optimal fit]' \ -'(-b --bytes -s --spaces)--optimal[Optimal fit]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::FILE -- The input file to use:' \ -&& ret=0 -;; -(groups) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'::user:' \ -&& ret=0 -;; -(head) -_arguments "${_arguments_options[@]}" \ -'(-1)-n+[Count n number of lines (or bytes if -c is specified).]: : ' \ -'(-1)--lines=[Count n number of lines (or bytes if -c is specified).]: : ' \ -'-C+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'*-1+[]: : ' \ -'-c[Count bytes instead of lines]' \ -'--bytes[Count bytes instead of lines]' \ -'-q[Disable printing a header. Overrides -c]' \ -'--quiet[Disable printing a header. Overrides -c]' \ -'-v[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'--verbose[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::FILES -- The input file to use:' \ -&& ret=0 -;; -(hostid) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(hostname) -_arguments "${_arguments_options[@]}" \ -'-s[Removes any domain information from the printed name.]' \ -'--strip[Removes any domain information from the printed name.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'::NAME -- name to set:' \ -&& ret=0 -;; -(link) -_arguments "${_arguments_options[@]}" \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':file1:' \ -':file2:' \ -&& ret=0 -;; -(ln) -_arguments "${_arguments_options[@]}" \ -'-f[remove existing destination files]' \ -'--force[remove existing destination files]' \ -'-s[make symbolic links instead of hard links]' \ -'--symbolic[make symbolic links instead of hard links]' \ -'-v[print name of each linked file]' \ -'--verbose[print name of each linked file]' \ -'-L[For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link.]' \ -'(-L)-P[For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -':dest:' \ -&& ret=0 -;; -(logname) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(mkfifo) -_arguments "${_arguments_options[@]}" \ -'-m+[Set the file permission bits of the newly-created FIFO to the specified mode value.]:MODE: ' \ -'--mode=[Set the file permission bits of the newly-created FIFO to the specified mode value.]:MODE: ' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -;; -(mknod) -_arguments "${_arguments_options[@]}" \ -'-m+[set file permission bits to MODE, not a=rw - umask]:MODE: ' \ -'--mode=[set file permission bits to MODE, not a=rw - umask]:MODE: ' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':file:' \ -':type:(b c p)' \ -'::major:' \ -'::minor:' \ -&& ret=0 -;; -(mktemp) -_arguments "${_arguments_options[@]}" \ -'-p+[specify the directory to create temporary files in]: :_files -/' \ -'--tmpdir=[specify the directory to create temporary files in]: :_files -/' \ -'-t+[specify a prefix to append to the created files]: : ' \ -'--template=[specify a prefix to append to the created files]: : ' \ -'-d[create a directory instead of a file]' \ -'--directory[create a directory instead of a file]' \ -'-u[immediately remove created files and directories]' \ -'--dryrun[immediately remove created files and directories]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(nologin) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(nproc) -_arguments "${_arguments_options[@]}" \ -'-a[Print the number of installed processors]' \ -'--all[Print the number of installed processors]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(printenv) -_arguments "${_arguments_options[@]}" \ -'-0[end each output line with NUL, not newline]' \ -'--null[end each output line with NUL, not newline]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::var:' \ -&& ret=0 -;; -(pwd) -_arguments "${_arguments_options[@]}" \ -'-L[use PWD from environment, even if it contains symlinks]' \ -'--logical[use PWD from environment, even if it contains symlinks]' \ -'(-L --logical)-P[avoid all symlinks]' \ -'(-L --logical)--physical[avoid all symlinks]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(readlink) -_arguments "${_arguments_options[@]}" \ -'-f[Canonicalize path]' \ -'-c[Canonicalize path]' \ -'--canonicalize[Canonicalize path]' \ -'-n[Do not print the terminating newline.]' \ -'--no-newline[Do not print the terminating newline.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::path:_files' \ -&& ret=0 -;; -(realpath) -_arguments "${_arguments_options[@]}" \ -'-q[ignore warnings]' \ -'--quiet[ignore warnings]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::path:_files' \ -&& ret=0 -;; -(rev) -_arguments "${_arguments_options[@]}" \ -'-c+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'-v[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'--verbose[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -;; -(rm) -_arguments "${_arguments_options[@]}" \ -'--interactive=[when to prompt]' \ -'-i[prompt before every removal]' \ -'-I[prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes]' \ -'-f[ignore nonexistent files and arguments, never prompt]' \ -'--force[ignore nonexistent files and arguments, never prompt]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:_files' \ -&& ret=0 -;; -(rmdir) -_arguments "${_arguments_options[@]}" \ -'-p[remove DIRECTORY and it'\''s ancestors]' \ -'--parents[remove DIRECTORY and it'\''s ancestors]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::dir:_files -/' \ -&& ret=0 -;; -(sleep) -_arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':seconds -- The number of seconds to sleep:' \ -&& ret=0 -;; -(sync) -_arguments "${_arguments_options[@]}" \ -'(-f --file-system)-d[sync only file data, no unneeded metadata]' \ -'(-f --file-system)--data[sync only file data, no unneeded metadata]' \ -'-f[sync the file systems that contain the files]' \ -'--file-system[sync the file systems that contain the files]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::FILE -- If one or more files are specified, sync only them, or their containing file systems.:' \ -&& ret=0 -;; -(true) -_arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(unlink) -_arguments "${_arguments_options[@]}" \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -;; -(wc) -_arguments "${_arguments_options[@]}" \ -'-c[Print the byte counts]' \ -'--bytes[Print the byte counts]' \ -'-m[Print the character counts]' \ -'--chars[Print the character counts]' \ -'-l[Print the line counts]' \ -'--lines[Print the line counts]' \ -'-L[Print the maximum display width]' \ -'--max-line-length[Print the maximum display width]' \ -'-w[Print the word counts]' \ -'--words[Print the word counts]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::INPUT -- The input file to use:' \ -&& ret=0 -;; -(which) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::COMMAND:' \ -&& ret=0 -;; -(whoami) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(yes) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'::msg:' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_corebox__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:corebox-help-command-$line[1]:" - case $line[1] in - (base32) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(base64) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(basename) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(bootstrap) -_arguments "${_arguments_options[@]}" \ -":: :_corebox__help__bootstrap_commands" \ -"*::: :->bootstrap" \ -&& ret=0 - - case $state in - (bootstrap) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:corebox-help-bootstrap-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; -(chgrp) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(chmod) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(chown) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(chroot) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(cut) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(dirname) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(echo) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(false) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(factor) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(fold) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(groups) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(head) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(hostid) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(hostname) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(link) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(ln) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(logname) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(mkfifo) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(mknod) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(mktemp) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(nologin) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(nproc) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(printenv) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(pwd) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(readlink) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(realpath) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(rev) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(rm) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(rmdir) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(sleep) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(sync) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(true) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(unlink) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(wc) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(which) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(whoami) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(yes) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -} - -(( $+functions[_corebox_commands] )) || -_corebox_commands() { - local commands; commands=( -'base32:Base32 encode/decode data and print to standard output' \ -'base64:Base64 encode/decode data and print to standard output' \ -'basename:Print NAME with any leading directory components removed.' \ -'bootstrap:Install shitbox into the filesystem' \ -'chgrp:change group ownership' \ -'chmod:change file mode bits' \ -'chown:change file owner and group' \ -'chroot:run command or interactive shell with special root directory' \ -'cut:cut out selected fields of each line of a file' \ -'dirname:strip last component from file name' \ -'echo:Display a line of text' \ -'false:Does nothing unsuccessfully' \ -'factor:factor numbers' \ -'fold:Wrap each input line to fit in specified width' \ -'groups:display current group names' \ -'head:Display first lines of a file' \ -'hostid:print the numeric identifier for the current host' \ -'hostname:Prints the name of the current host. The super-user can set the host name by supplying an argument.' \ -'link:call the link function to create a link to a file' \ -'ln:make links between files' \ -'logname:print user'\''s login name' \ -'mkfifo:make FIFO special files' \ -'mknod:make block or character special files' \ -'mktemp:create a unique temporary file' \ -'nologin:Denies a user account login ability' \ -'nproc:Print the number of processing units available' \ -'printenv:print all or part of environment' \ -'pwd:return working directory name' \ -'readlink:Print symbolic link target or canonical file name' \ -'realpath:return resolved physical path' \ -'rev:reverse lines characterwise' \ -'rm:remove files or directories' \ -'rmdir:remove directories' \ -'sleep:Suspend execution for an interval of time' \ -'sync:force completion of pending disk writes (flush cache)' \ -'true:Does nothing successfully' \ -'unlink:call the unlink function to remove the specified file' \ -'wc:Print newline, word, and byte counts for each file' \ -'which:Write the full path of COMMAND(s) to standard output' \ -'whoami:print effective user name' \ -'yes:output a string repeatedly until killed' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'corebox commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__all_commands] )) || -_corebox__bootstrap__all_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap all commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__help__all_commands] )) || -_corebox__bootstrap__help__all_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap help all commands' commands "$@" -} -(( $+functions[_corebox__help__bootstrap__all_commands] )) || -_corebox__help__bootstrap__all_commands() { - local commands; commands=() - _describe -t commands 'corebox help bootstrap all commands' commands "$@" -} -(( $+functions[_corebox__base32_commands] )) || -_corebox__base32_commands() { - local commands; commands=() - _describe -t commands 'corebox base32 commands' commands "$@" -} -(( $+functions[_corebox__help__base32_commands] )) || -_corebox__help__base32_commands() { - local commands; commands=() - _describe -t commands 'corebox help base32 commands' commands "$@" -} -(( $+functions[_corebox__base64_commands] )) || -_corebox__base64_commands() { - local commands; commands=() - _describe -t commands 'corebox base64 commands' commands "$@" -} -(( $+functions[_corebox__help__base64_commands] )) || -_corebox__help__base64_commands() { - local commands; commands=() - _describe -t commands 'corebox help base64 commands' commands "$@" -} -(( $+functions[_corebox__basename_commands] )) || -_corebox__basename_commands() { - local commands; commands=() - _describe -t commands 'corebox basename commands' commands "$@" -} -(( $+functions[_corebox__help__basename_commands] )) || -_corebox__help__basename_commands() { - local commands; commands=() - _describe -t commands 'corebox help basename commands' commands "$@" -} -(( $+functions[_corebox__bootstrap_commands] )) || -_corebox__bootstrap_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'corebox bootstrap commands' commands "$@" -} -(( $+functions[_corebox__help__bootstrap_commands] )) || -_corebox__help__bootstrap_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ - ) - _describe -t commands 'corebox help bootstrap commands' commands "$@" -} -(( $+functions[_corebox__chgrp_commands] )) || -_corebox__chgrp_commands() { - local commands; commands=() - _describe -t commands 'corebox chgrp commands' commands "$@" -} -(( $+functions[_corebox__help__chgrp_commands] )) || -_corebox__help__chgrp_commands() { - local commands; commands=() - _describe -t commands 'corebox help chgrp commands' commands "$@" -} -(( $+functions[_corebox__chmod_commands] )) || -_corebox__chmod_commands() { - local commands; commands=() - _describe -t commands 'corebox chmod commands' commands "$@" -} -(( $+functions[_corebox__help__chmod_commands] )) || -_corebox__help__chmod_commands() { - local commands; commands=() - _describe -t commands 'corebox help chmod commands' commands "$@" -} -(( $+functions[_corebox__chown_commands] )) || -_corebox__chown_commands() { - local commands; commands=() - _describe -t commands 'corebox chown commands' commands "$@" -} -(( $+functions[_corebox__help__chown_commands] )) || -_corebox__help__chown_commands() { - local commands; commands=() - _describe -t commands 'corebox help chown commands' commands "$@" -} -(( $+functions[_corebox__chroot_commands] )) || -_corebox__chroot_commands() { - local commands; commands=() - _describe -t commands 'corebox chroot commands' commands "$@" -} -(( $+functions[_corebox__help__chroot_commands] )) || -_corebox__help__chroot_commands() { - local commands; commands=() - _describe -t commands 'corebox help chroot commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__completions_commands] )) || -_corebox__bootstrap__completions_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap completions commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__help__completions_commands] )) || -_corebox__bootstrap__help__completions_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap help completions commands' commands "$@" -} -(( $+functions[_corebox__help__bootstrap__completions_commands] )) || -_corebox__help__bootstrap__completions_commands() { - local commands; commands=() - _describe -t commands 'corebox help bootstrap completions commands' commands "$@" -} -(( $+functions[_corebox__cut_commands] )) || -_corebox__cut_commands() { - local commands; commands=() - _describe -t commands 'corebox cut commands' commands "$@" -} -(( $+functions[_corebox__help__cut_commands] )) || -_corebox__help__cut_commands() { - local commands; commands=() - _describe -t commands 'corebox help cut commands' commands "$@" -} -(( $+functions[_corebox__dirname_commands] )) || -_corebox__dirname_commands() { - local commands; commands=() - _describe -t commands 'corebox dirname commands' commands "$@" -} -(( $+functions[_corebox__help__dirname_commands] )) || -_corebox__help__dirname_commands() { - local commands; commands=() - _describe -t commands 'corebox help dirname commands' commands "$@" -} -(( $+functions[_corebox__echo_commands] )) || -_corebox__echo_commands() { - local commands; commands=() - _describe -t commands 'corebox echo commands' commands "$@" -} -(( $+functions[_corebox__help__echo_commands] )) || -_corebox__help__echo_commands() { - local commands; commands=() - _describe -t commands 'corebox help echo commands' commands "$@" -} -(( $+functions[_corebox__factor_commands] )) || -_corebox__factor_commands() { - local commands; commands=() - _describe -t commands 'corebox factor commands' commands "$@" -} -(( $+functions[_corebox__help__factor_commands] )) || -_corebox__help__factor_commands() { - local commands; commands=() - _describe -t commands 'corebox help factor commands' commands "$@" -} -(( $+functions[_corebox__false_commands] )) || -_corebox__false_commands() { - local commands; commands=() - _describe -t commands 'corebox false commands' commands "$@" -} -(( $+functions[_corebox__help__false_commands] )) || -_corebox__help__false_commands() { - local commands; commands=() - _describe -t commands 'corebox help false commands' commands "$@" -} -(( $+functions[_corebox__fold_commands] )) || -_corebox__fold_commands() { - local commands; commands=() - _describe -t commands 'corebox fold commands' commands "$@" -} -(( $+functions[_corebox__help__fold_commands] )) || -_corebox__help__fold_commands() { - local commands; commands=() - _describe -t commands 'corebox help fold commands' commands "$@" -} -(( $+functions[_corebox__groups_commands] )) || -_corebox__groups_commands() { - local commands; commands=() - _describe -t commands 'corebox groups commands' commands "$@" -} -(( $+functions[_corebox__help__groups_commands] )) || -_corebox__help__groups_commands() { - local commands; commands=() - _describe -t commands 'corebox help groups commands' commands "$@" -} -(( $+functions[_corebox__head_commands] )) || -_corebox__head_commands() { - local commands; commands=() - _describe -t commands 'corebox head commands' commands "$@" -} -(( $+functions[_corebox__help__head_commands] )) || -_corebox__help__head_commands() { - local commands; commands=() - _describe -t commands 'corebox help head commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__help_commands] )) || -_corebox__bootstrap__help_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'corebox bootstrap help commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__help__help_commands] )) || -_corebox__bootstrap__help__help_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap help help commands' commands "$@" -} -(( $+functions[_corebox__help_commands] )) || -_corebox__help_commands() { - local commands; commands=( -'base32:Base32 encode/decode data and print to standard output' \ -'base64:Base64 encode/decode data and print to standard output' \ -'basename:Print NAME with any leading directory components removed.' \ -'bootstrap:Install shitbox into the filesystem' \ -'chgrp:change group ownership' \ -'chmod:change file mode bits' \ -'chown:change file owner and group' \ -'chroot:run command or interactive shell with special root directory' \ -'cut:cut out selected fields of each line of a file' \ -'dirname:strip last component from file name' \ -'echo:Display a line of text' \ -'false:Does nothing unsuccessfully' \ -'factor:factor numbers' \ -'fold:Wrap each input line to fit in specified width' \ -'groups:display current group names' \ -'head:Display first lines of a file' \ -'hostid:print the numeric identifier for the current host' \ -'hostname:Prints the name of the current host. The super-user can set the host name by supplying an argument.' \ -'link:call the link function to create a link to a file' \ -'ln:make links between files' \ -'logname:print user'\''s login name' \ -'mkfifo:make FIFO special files' \ -'mknod:make block or character special files' \ -'mktemp:create a unique temporary file' \ -'nologin:Denies a user account login ability' \ -'nproc:Print the number of processing units available' \ -'printenv:print all or part of environment' \ -'pwd:return working directory name' \ -'readlink:Print symbolic link target or canonical file name' \ -'realpath:return resolved physical path' \ -'rev:reverse lines characterwise' \ -'rm:remove files or directories' \ -'rmdir:remove directories' \ -'sleep:Suspend execution for an interval of time' \ -'sync:force completion of pending disk writes (flush cache)' \ -'true:Does nothing successfully' \ -'unlink:call the unlink function to remove the specified file' \ -'wc:Print newline, word, and byte counts for each file' \ -'which:Write the full path of COMMAND(s) to standard output' \ -'whoami:print effective user name' \ -'yes:output a string repeatedly until killed' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'corebox help commands' commands "$@" -} -(( $+functions[_corebox__help__help_commands] )) || -_corebox__help__help_commands() { - local commands; commands=() - _describe -t commands 'corebox help help commands' commands "$@" -} -(( $+functions[_corebox__help__hostid_commands] )) || -_corebox__help__hostid_commands() { - local commands; commands=() - _describe -t commands 'corebox help hostid commands' commands "$@" -} -(( $+functions[_corebox__hostid_commands] )) || -_corebox__hostid_commands() { - local commands; commands=() - _describe -t commands 'corebox hostid commands' commands "$@" -} -(( $+functions[_corebox__help__hostname_commands] )) || -_corebox__help__hostname_commands() { - local commands; commands=() - _describe -t commands 'corebox help hostname commands' commands "$@" -} -(( $+functions[_corebox__hostname_commands] )) || -_corebox__hostname_commands() { - local commands; commands=() - _describe -t commands 'corebox hostname commands' commands "$@" -} -(( $+functions[_corebox__help__link_commands] )) || -_corebox__help__link_commands() { - local commands; commands=() - _describe -t commands 'corebox help link commands' commands "$@" -} -(( $+functions[_corebox__link_commands] )) || -_corebox__link_commands() { - local commands; commands=() - _describe -t commands 'corebox link commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__help__links_commands] )) || -_corebox__bootstrap__help__links_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap help links commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__links_commands] )) || -_corebox__bootstrap__links_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap links commands' commands "$@" -} -(( $+functions[_corebox__help__bootstrap__links_commands] )) || -_corebox__help__bootstrap__links_commands() { - local commands; commands=() - _describe -t commands 'corebox help bootstrap links commands' commands "$@" -} -(( $+functions[_corebox__help__ln_commands] )) || -_corebox__help__ln_commands() { - local commands; commands=() - _describe -t commands 'corebox help ln commands' commands "$@" -} -(( $+functions[_corebox__ln_commands] )) || -_corebox__ln_commands() { - local commands; commands=() - _describe -t commands 'corebox ln commands' commands "$@" -} -(( $+functions[_corebox__help__logname_commands] )) || -_corebox__help__logname_commands() { - local commands; commands=() - _describe -t commands 'corebox help logname commands' commands "$@" -} -(( $+functions[_corebox__logname_commands] )) || -_corebox__logname_commands() { - local commands; commands=() - _describe -t commands 'corebox logname commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__help__manpages_commands] )) || -_corebox__bootstrap__help__manpages_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap help manpages commands' commands "$@" -} -(( $+functions[_corebox__bootstrap__manpages_commands] )) || -_corebox__bootstrap__manpages_commands() { - local commands; commands=() - _describe -t commands 'corebox bootstrap manpages commands' commands "$@" -} -(( $+functions[_corebox__help__bootstrap__manpages_commands] )) || -_corebox__help__bootstrap__manpages_commands() { - local commands; commands=() - _describe -t commands 'corebox help bootstrap manpages commands' commands "$@" -} -(( $+functions[_corebox__help__mkfifo_commands] )) || -_corebox__help__mkfifo_commands() { - local commands; commands=() - _describe -t commands 'corebox help mkfifo commands' commands "$@" -} -(( $+functions[_corebox__mkfifo_commands] )) || -_corebox__mkfifo_commands() { - local commands; commands=() - _describe -t commands 'corebox mkfifo commands' commands "$@" -} -(( $+functions[_corebox__help__mknod_commands] )) || -_corebox__help__mknod_commands() { - local commands; commands=() - _describe -t commands 'corebox help mknod commands' commands "$@" -} -(( $+functions[_corebox__mknod_commands] )) || -_corebox__mknod_commands() { - local commands; commands=() - _describe -t commands 'corebox mknod commands' commands "$@" -} -(( $+functions[_corebox__help__mktemp_commands] )) || -_corebox__help__mktemp_commands() { - local commands; commands=() - _describe -t commands 'corebox help mktemp commands' commands "$@" -} -(( $+functions[_corebox__mktemp_commands] )) || -_corebox__mktemp_commands() { - local commands; commands=() - _describe -t commands 'corebox mktemp commands' commands "$@" -} -(( $+functions[_corebox__help__nologin_commands] )) || -_corebox__help__nologin_commands() { - local commands; commands=() - _describe -t commands 'corebox help nologin commands' commands "$@" -} -(( $+functions[_corebox__nologin_commands] )) || -_corebox__nologin_commands() { - local commands; commands=() - _describe -t commands 'corebox nologin commands' commands "$@" -} -(( $+functions[_corebox__help__nproc_commands] )) || -_corebox__help__nproc_commands() { - local commands; commands=() - _describe -t commands 'corebox help nproc commands' commands "$@" -} -(( $+functions[_corebox__nproc_commands] )) || -_corebox__nproc_commands() { - local commands; commands=() - _describe -t commands 'corebox nproc commands' commands "$@" -} -(( $+functions[_corebox__help__printenv_commands] )) || -_corebox__help__printenv_commands() { - local commands; commands=() - _describe -t commands 'corebox help printenv commands' commands "$@" -} -(( $+functions[_corebox__printenv_commands] )) || -_corebox__printenv_commands() { - local commands; commands=() - _describe -t commands 'corebox printenv commands' commands "$@" -} -(( $+functions[_corebox__help__pwd_commands] )) || -_corebox__help__pwd_commands() { - local commands; commands=() - _describe -t commands 'corebox help pwd commands' commands "$@" -} -(( $+functions[_corebox__pwd_commands] )) || -_corebox__pwd_commands() { - local commands; commands=() - _describe -t commands 'corebox pwd commands' commands "$@" -} -(( $+functions[_corebox__help__readlink_commands] )) || -_corebox__help__readlink_commands() { - local commands; commands=() - _describe -t commands 'corebox help readlink commands' commands "$@" -} -(( $+functions[_corebox__readlink_commands] )) || -_corebox__readlink_commands() { - local commands; commands=() - _describe -t commands 'corebox readlink commands' commands "$@" -} -(( $+functions[_corebox__help__realpath_commands] )) || -_corebox__help__realpath_commands() { - local commands; commands=() - _describe -t commands 'corebox help realpath commands' commands "$@" -} -(( $+functions[_corebox__realpath_commands] )) || -_corebox__realpath_commands() { - local commands; commands=() - _describe -t commands 'corebox realpath commands' commands "$@" -} -(( $+functions[_corebox__help__rev_commands] )) || -_corebox__help__rev_commands() { - local commands; commands=() - _describe -t commands 'corebox help rev commands' commands "$@" -} -(( $+functions[_corebox__rev_commands] )) || -_corebox__rev_commands() { - local commands; commands=() - _describe -t commands 'corebox rev commands' commands "$@" -} -(( $+functions[_corebox__help__rm_commands] )) || -_corebox__help__rm_commands() { - local commands; commands=() - _describe -t commands 'corebox help rm commands' commands "$@" -} -(( $+functions[_corebox__rm_commands] )) || -_corebox__rm_commands() { - local commands; commands=() - _describe -t commands 'corebox rm commands' commands "$@" -} -(( $+functions[_corebox__help__rmdir_commands] )) || -_corebox__help__rmdir_commands() { - local commands; commands=() - _describe -t commands 'corebox help rmdir commands' commands "$@" -} -(( $+functions[_corebox__rmdir_commands] )) || -_corebox__rmdir_commands() { - local commands; commands=() - _describe -t commands 'corebox rmdir commands' commands "$@" -} -(( $+functions[_corebox__help__sleep_commands] )) || -_corebox__help__sleep_commands() { - local commands; commands=() - _describe -t commands 'corebox help sleep commands' commands "$@" -} -(( $+functions[_corebox__sleep_commands] )) || -_corebox__sleep_commands() { - local commands; commands=() - _describe -t commands 'corebox sleep commands' commands "$@" -} -(( $+functions[_corebox__help__sync_commands] )) || -_corebox__help__sync_commands() { - local commands; commands=() - _describe -t commands 'corebox help sync commands' commands "$@" -} -(( $+functions[_corebox__sync_commands] )) || -_corebox__sync_commands() { - local commands; commands=() - _describe -t commands 'corebox sync commands' commands "$@" -} -(( $+functions[_corebox__help__true_commands] )) || -_corebox__help__true_commands() { - local commands; commands=() - _describe -t commands 'corebox help true commands' commands "$@" -} -(( $+functions[_corebox__true_commands] )) || -_corebox__true_commands() { - local commands; commands=() - _describe -t commands 'corebox true commands' commands "$@" -} -(( $+functions[_corebox__help__unlink_commands] )) || -_corebox__help__unlink_commands() { - local commands; commands=() - _describe -t commands 'corebox help unlink commands' commands "$@" -} -(( $+functions[_corebox__unlink_commands] )) || -_corebox__unlink_commands() { - local commands; commands=() - _describe -t commands 'corebox unlink commands' commands "$@" -} -(( $+functions[_corebox__help__wc_commands] )) || -_corebox__help__wc_commands() { - local commands; commands=() - _describe -t commands 'corebox help wc commands' commands "$@" -} -(( $+functions[_corebox__wc_commands] )) || -_corebox__wc_commands() { - local commands; commands=() - _describe -t commands 'corebox wc commands' commands "$@" -} -(( $+functions[_corebox__help__which_commands] )) || -_corebox__help__which_commands() { - local commands; commands=() - _describe -t commands 'corebox help which commands' commands "$@" -} -(( $+functions[_corebox__which_commands] )) || -_corebox__which_commands() { - local commands; commands=() - _describe -t commands 'corebox which commands' commands "$@" -} -(( $+functions[_corebox__help__whoami_commands] )) || -_corebox__help__whoami_commands() { - local commands; commands=() - _describe -t commands 'corebox help whoami commands' commands "$@" -} -(( $+functions[_corebox__whoami_commands] )) || -_corebox__whoami_commands() { - local commands; commands=() - _describe -t commands 'corebox whoami commands' commands "$@" -} -(( $+functions[_corebox__help__yes_commands] )) || -_corebox__help__yes_commands() { - local commands; commands=() - _describe -t commands 'corebox help yes commands' commands "$@" -} -(( $+functions[_corebox__yes_commands] )) || -_corebox__yes_commands() { - local commands; commands=() - _describe -t commands 'corebox yes commands' commands "$@" -} - -_corebox "$@" diff --git a/pkg/usr/share/zsh/site-functions/_cut b/pkg/usr/share/zsh/site-functions/_cut deleted file mode 100644 index 8fe237b..0000000 --- a/pkg/usr/share/zsh/site-functions/_cut +++ /dev/null @@ -1,43 +0,0 @@ -#compdef cut - -autoload -U is-at-least - -_cut() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-b+[select only these bytes]:LIST: ' \ -'--bytes=[select only these bytes]:LIST: ' \ -'-c+[select only these characters]:LIST: ' \ -'--characters=[select only these characters]:LIST: ' \ -'-f+[select only these fields]:LIST: ' \ -'--fields=[select only these fields]:LIST: ' \ -'-d+[use DELIM instead of TAB for field delimiter]:DELIM: ' \ -'--delimiter=[use DELIM instead of TAB for field delimiter]:DELIM: ' \ -'-n+[ignored]: : ' \ -'-s[]' \ -'--only-delimited[]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_cut_commands] )) || -_cut_commands() { - local commands; commands=() - _describe -t commands 'cut commands' commands "$@" -} - -_cut "$@" diff --git a/pkg/usr/share/zsh/site-functions/_dirname b/pkg/usr/share/zsh/site-functions/_dirname deleted file mode 100644 index 4a6538e..0000000 --- a/pkg/usr/share/zsh/site-functions/_dirname +++ /dev/null @@ -1,32 +0,0 @@ -#compdef dirname - -autoload -U is-at-least - -_dirname() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-z[end each output line with NUL, not newline]' \ -'--zero[end each output line with NUL, not newline]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::name:' \ -&& ret=0 -} - -(( $+functions[_dirname_commands] )) || -_dirname_commands() { - local commands; commands=() - _describe -t commands 'dirname commands' commands "$@" -} - -_dirname "$@" diff --git a/pkg/usr/share/zsh/site-functions/_echo b/pkg/usr/share/zsh/site-functions/_echo deleted file mode 100644 index 1107af0..0000000 --- a/pkg/usr/share/zsh/site-functions/_echo +++ /dev/null @@ -1,31 +0,0 @@ -#compdef echo - -autoload -U is-at-least - -_echo() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-n+[Do not output a trailing newline]: : ' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'*::STRING:' \ -&& ret=0 -} - -(( $+functions[_echo_commands] )) || -_echo_commands() { - local commands; commands=() - _describe -t commands 'echo commands' commands "$@" -} - -_echo "$@" diff --git a/pkg/usr/share/zsh/site-functions/_factor b/pkg/usr/share/zsh/site-functions/_factor deleted file mode 100644 index 4412de8..0000000 --- a/pkg/usr/share/zsh/site-functions/_factor +++ /dev/null @@ -1,30 +0,0 @@ -#compdef factor - -autoload -U is-at-least - -_factor() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::number -- the numbers to factor:' \ -&& ret=0 -} - -(( $+functions[_factor_commands] )) || -_factor_commands() { - local commands; commands=() - _describe -t commands 'factor commands' commands "$@" -} - -_factor "$@" diff --git a/pkg/usr/share/zsh/site-functions/_false b/pkg/usr/share/zsh/site-functions/_false deleted file mode 100644 index 7e6fd04..0000000 --- a/pkg/usr/share/zsh/site-functions/_false +++ /dev/null @@ -1,29 +0,0 @@ -#compdef false - -autoload -U is-at-least - -_false() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -&& ret=0 -} - -(( $+functions[_false_commands] )) || -_false_commands() { - local commands; commands=() - _describe -t commands 'false commands' commands "$@" -} - -_false "$@" diff --git a/pkg/usr/share/zsh/site-functions/_fold b/pkg/usr/share/zsh/site-functions/_fold deleted file mode 100644 index 82437ed..0000000 --- a/pkg/usr/share/zsh/site-functions/_fold +++ /dev/null @@ -1,38 +0,0 @@ -#compdef fold - -autoload -U is-at-least - -_fold() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-w+[Use width columns]: : ' \ -'--width=[Use width columns]: : ' \ -'-b[Count bytes rather than columns]' \ -'--bytes[Count bytes rather than columns]' \ -'-s[Break at spaces]' \ -'--spaces[Break at spaces]' \ -'(-b --bytes -s --spaces)-o[Optimal fit]' \ -'(-b --bytes -s --spaces)--optimal[Optimal fit]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'*::FILE -- The input file to use:' \ -&& ret=0 -} - -(( $+functions[_fold_commands] )) || -_fold_commands() { - local commands; commands=() - _describe -t commands 'fold commands' commands "$@" -} - -_fold "$@" diff --git a/pkg/usr/share/zsh/site-functions/_groups b/pkg/usr/share/zsh/site-functions/_groups deleted file mode 100644 index 4106873..0000000 --- a/pkg/usr/share/zsh/site-functions/_groups +++ /dev/null @@ -1,32 +0,0 @@ -#compdef groups - -autoload -U is-at-least - -_groups() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'::user:' \ -&& ret=0 -} - -(( $+functions[_groups_commands] )) || -_groups_commands() { - local commands; commands=() - _describe -t commands 'groups commands' commands "$@" -} - -_groups "$@" diff --git a/pkg/usr/share/zsh/site-functions/_head b/pkg/usr/share/zsh/site-functions/_head deleted file mode 100644 index 4409a3f..0000000 --- a/pkg/usr/share/zsh/site-functions/_head +++ /dev/null @@ -1,41 +0,0 @@ -#compdef head - -autoload -U is-at-least - -_head() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'(-1)-n+[Count n number of lines (or bytes if -c is specified).]: : ' \ -'(-1)--lines=[Count n number of lines (or bytes if -c is specified).]: : ' \ -'-C+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'*-1+[]: : ' \ -'-c[Count bytes instead of lines]' \ -'--bytes[Count bytes instead of lines]' \ -'-q[Disable printing a header. Overrides -c]' \ -'--quiet[Disable printing a header. Overrides -c]' \ -'-v[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'--verbose[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'*::FILES -- The input file to use:' \ -&& ret=0 -} - -(( $+functions[_head_commands] )) || -_head_commands() { - local commands; commands=() - _describe -t commands 'head commands' commands "$@" -} - -_head "$@" diff --git a/pkg/usr/share/zsh/site-functions/_hostid b/pkg/usr/share/zsh/site-functions/_hostid deleted file mode 100644 index bd0cc80..0000000 --- a/pkg/usr/share/zsh/site-functions/_hostid +++ /dev/null @@ -1,31 +0,0 @@ -#compdef hostid - -autoload -U is-at-least - -_hostid() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -} - -(( $+functions[_hostid_commands] )) || -_hostid_commands() { - local commands; commands=() - _describe -t commands 'hostid commands' commands "$@" -} - -_hostid "$@" diff --git a/pkg/usr/share/zsh/site-functions/_hostname b/pkg/usr/share/zsh/site-functions/_hostname deleted file mode 100644 index c2a4e73..0000000 --- a/pkg/usr/share/zsh/site-functions/_hostname +++ /dev/null @@ -1,32 +0,0 @@ -#compdef hostname - -autoload -U is-at-least - -_hostname() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-s[Removes any domain information from the printed name.]' \ -'--strip[Removes any domain information from the printed name.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'::NAME -- name to set:' \ -&& ret=0 -} - -(( $+functions[_hostname_commands] )) || -_hostname_commands() { - local commands; commands=() - _describe -t commands 'hostname commands' commands "$@" -} - -_hostname "$@" diff --git a/pkg/usr/share/zsh/site-functions/_link b/pkg/usr/share/zsh/site-functions/_link deleted file mode 100644 index eff7d39..0000000 --- a/pkg/usr/share/zsh/site-functions/_link +++ /dev/null @@ -1,35 +0,0 @@ -#compdef link - -autoload -U is-at-least - -_link() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':file1:' \ -':file2:' \ -&& ret=0 -} - -(( $+functions[_link_commands] )) || -_link_commands() { - local commands; commands=() - _describe -t commands 'link commands' commands "$@" -} - -_link "$@" diff --git a/pkg/usr/share/zsh/site-functions/_ln b/pkg/usr/share/zsh/site-functions/_ln deleted file mode 100644 index f7d57f5..0000000 --- a/pkg/usr/share/zsh/site-functions/_ln +++ /dev/null @@ -1,41 +0,0 @@ -#compdef ln - -autoload -U is-at-least - -_ln() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-f[remove existing destination files]' \ -'--force[remove existing destination files]' \ -'-s[make symbolic links instead of hard links]' \ -'--symbolic[make symbolic links instead of hard links]' \ -'-v[print name of each linked file]' \ -'--verbose[print name of each linked file]' \ -'-L[For each source_file operand that names a file of type symbolic link, create a (hard) link to the file referenced by the symbolic link.]' \ -'(-L)-P[For each source_file operand that names a file of type symbolic link, create a (hard) link to the symbolic link itself.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -':dest:' \ -&& ret=0 -} - -(( $+functions[_ln_commands] )) || -_ln_commands() { - local commands; commands=() - _describe -t commands 'ln commands' commands "$@" -} - -_ln "$@" diff --git a/pkg/usr/share/zsh/site-functions/_logname b/pkg/usr/share/zsh/site-functions/_logname deleted file mode 100644 index c580f52..0000000 --- a/pkg/usr/share/zsh/site-functions/_logname +++ /dev/null @@ -1,31 +0,0 @@ -#compdef logname - -autoload -U is-at-least - -_logname() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -} - -(( $+functions[_logname_commands] )) || -_logname_commands() { - local commands; commands=() - _describe -t commands 'logname commands' commands "$@" -} - -_logname "$@" diff --git a/pkg/usr/share/zsh/site-functions/_md5sum b/pkg/usr/share/zsh/site-functions/_md5sum deleted file mode 100644 index d9b90bc..0000000 --- a/pkg/usr/share/zsh/site-functions/_md5sum +++ /dev/null @@ -1,34 +0,0 @@ -#compdef md5sum - -autoload -U is-at-least - -_md5sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_md5sum_commands] )) || -_md5sum_commands() { - local commands; commands=() - _describe -t commands 'md5sum commands' commands "$@" -} - -_md5sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_mkfifo b/pkg/usr/share/zsh/site-functions/_mkfifo deleted file mode 100644 index 0af09cd..0000000 --- a/pkg/usr/share/zsh/site-functions/_mkfifo +++ /dev/null @@ -1,36 +0,0 @@ -#compdef mkfifo - -autoload -U is-at-least - -_mkfifo() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-m+[Set the file permission bits of the newly-created FIFO to the specified mode value.]:MODE: ' \ -'--mode=[Set the file permission bits of the newly-created FIFO to the specified mode value.]:MODE: ' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_mkfifo_commands] )) || -_mkfifo_commands() { - local commands; commands=() - _describe -t commands 'mkfifo commands' commands "$@" -} - -_mkfifo "$@" diff --git a/pkg/usr/share/zsh/site-functions/_mknod b/pkg/usr/share/zsh/site-functions/_mknod deleted file mode 100644 index 2ae3172..0000000 --- a/pkg/usr/share/zsh/site-functions/_mknod +++ /dev/null @@ -1,39 +0,0 @@ -#compdef mknod - -autoload -U is-at-least - -_mknod() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-m+[set file permission bits to MODE, not a=rw - umask]:MODE: ' \ -'--mode=[set file permission bits to MODE, not a=rw - umask]:MODE: ' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':file:' \ -':type:(b c p)' \ -'::major:' \ -'::minor:' \ -&& ret=0 -} - -(( $+functions[_mknod_commands] )) || -_mknod_commands() { - local commands; commands=() - _describe -t commands 'mknod commands' commands "$@" -} - -_mknod "$@" diff --git a/pkg/usr/share/zsh/site-functions/_mktemp b/pkg/usr/share/zsh/site-functions/_mktemp deleted file mode 100644 index 791cb7e..0000000 --- a/pkg/usr/share/zsh/site-functions/_mktemp +++ /dev/null @@ -1,39 +0,0 @@ -#compdef mktemp - -autoload -U is-at-least - -_mktemp() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-p+[specify the directory to create temporary files in]: :_files -/' \ -'--tmpdir=[specify the directory to create temporary files in]: :_files -/' \ -'-t+[specify a prefix to append to the created files]: : ' \ -'--template=[specify a prefix to append to the created files]: : ' \ -'-d[create a directory instead of a file]' \ -'--directory[create a directory instead of a file]' \ -'-u[immediately remove created files and directories]' \ -'--dryrun[immediately remove created files and directories]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -} - -(( $+functions[_mktemp_commands] )) || -_mktemp_commands() { - local commands; commands=() - _describe -t commands 'mktemp commands' commands "$@" -} - -_mktemp "$@" diff --git a/pkg/usr/share/zsh/site-functions/_mountpoint b/pkg/usr/share/zsh/site-functions/_mountpoint deleted file mode 100644 index 26f1a00..0000000 --- a/pkg/usr/share/zsh/site-functions/_mountpoint +++ /dev/null @@ -1,36 +0,0 @@ -#compdef mountpoint - -autoload -U is-at-least - -_mountpoint() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-d[Show the major/minor numbers of the device that is mounted on the given directory.]' \ -'--fs-devno[Show the major/minor numbers of the device that is mounted on the given directory.]' \ -'(-d --fs-devno)-x[Show the major/minor numbers of the given blockdevice on standard output.]' \ -'(-d --fs-devno)--devno[Show the major/minor numbers of the given blockdevice on standard output.]' \ -'-q[Be quiet - don’t print anything.]' \ -'--quiet[Be quiet - don’t print anything.]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -':file:' \ -&& ret=0 -} - -(( $+functions[_mountpoint_commands] )) || -_mountpoint_commands() { - local commands; commands=() - _describe -t commands 'mountpoint commands' commands "$@" -} - -_mountpoint "$@" diff --git a/pkg/usr/share/zsh/site-functions/_nologin b/pkg/usr/share/zsh/site-functions/_nologin deleted file mode 100644 index e09f382..0000000 --- a/pkg/usr/share/zsh/site-functions/_nologin +++ /dev/null @@ -1,29 +0,0 @@ -#compdef nologin - -autoload -U is-at-least - -_nologin() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -} - -(( $+functions[_nologin_commands] )) || -_nologin_commands() { - local commands; commands=() - _describe -t commands 'nologin commands' commands "$@" -} - -_nologin "$@" diff --git a/pkg/usr/share/zsh/site-functions/_nproc b/pkg/usr/share/zsh/site-functions/_nproc deleted file mode 100644 index 45404a9..0000000 --- a/pkg/usr/share/zsh/site-functions/_nproc +++ /dev/null @@ -1,31 +0,0 @@ -#compdef nproc - -autoload -U is-at-least - -_nproc() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-a[Print the number of installed processors]' \ -'--all[Print the number of installed processors]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -} - -(( $+functions[_nproc_commands] )) || -_nproc_commands() { - local commands; commands=() - _describe -t commands 'nproc commands' commands "$@" -} - -_nproc "$@" diff --git a/pkg/usr/share/zsh/site-functions/_printenv b/pkg/usr/share/zsh/site-functions/_printenv deleted file mode 100644 index 75ce4ea..0000000 --- a/pkg/usr/share/zsh/site-functions/_printenv +++ /dev/null @@ -1,34 +0,0 @@ -#compdef printenv - -autoload -U is-at-least - -_printenv() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-0[end each output line with NUL, not newline]' \ -'--null[end each output line with NUL, not newline]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::var:' \ -&& ret=0 -} - -(( $+functions[_printenv_commands] )) || -_printenv_commands() { - local commands; commands=() - _describe -t commands 'printenv commands' commands "$@" -} - -_printenv "$@" diff --git a/pkg/usr/share/zsh/site-functions/_pwd b/pkg/usr/share/zsh/site-functions/_pwd deleted file mode 100644 index 058f7d5..0000000 --- a/pkg/usr/share/zsh/site-functions/_pwd +++ /dev/null @@ -1,35 +0,0 @@ -#compdef pwd - -autoload -U is-at-least - -_pwd() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-L[use PWD from environment, even if it contains symlinks]' \ -'--logical[use PWD from environment, even if it contains symlinks]' \ -'(-L --logical)-P[avoid all symlinks]' \ -'(-L --logical)--physical[avoid all symlinks]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -} - -(( $+functions[_pwd_commands] )) || -_pwd_commands() { - local commands; commands=() - _describe -t commands 'pwd commands' commands "$@" -} - -_pwd "$@" diff --git a/pkg/usr/share/zsh/site-functions/_readlink b/pkg/usr/share/zsh/site-functions/_readlink deleted file mode 100644 index 9276ab2..0000000 --- a/pkg/usr/share/zsh/site-functions/_readlink +++ /dev/null @@ -1,37 +0,0 @@ -#compdef readlink - -autoload -U is-at-least - -_readlink() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-f[Canonicalize path]' \ -'-c[Canonicalize path]' \ -'--canonicalize[Canonicalize path]' \ -'-n[Do not print the terminating newline.]' \ -'--no-newline[Do not print the terminating newline.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::path:_files' \ -&& ret=0 -} - -(( $+functions[_readlink_commands] )) || -_readlink_commands() { - local commands; commands=() - _describe -t commands 'readlink commands' commands "$@" -} - -_readlink "$@" diff --git a/pkg/usr/share/zsh/site-functions/_realpath b/pkg/usr/share/zsh/site-functions/_realpath deleted file mode 100644 index d8b14a1..0000000 --- a/pkg/usr/share/zsh/site-functions/_realpath +++ /dev/null @@ -1,34 +0,0 @@ -#compdef realpath - -autoload -U is-at-least - -_realpath() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-q[ignore warnings]' \ -'--quiet[ignore warnings]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::path:_files' \ -&& ret=0 -} - -(( $+functions[_realpath_commands] )) || -_realpath_commands() { - local commands; commands=() - _describe -t commands 'realpath commands' commands "$@" -} - -_realpath "$@" diff --git a/pkg/usr/share/zsh/site-functions/_rev b/pkg/usr/share/zsh/site-functions/_rev deleted file mode 100644 index eeb9075..0000000 --- a/pkg/usr/share/zsh/site-functions/_rev +++ /dev/null @@ -1,34 +0,0 @@ -#compdef rev - -autoload -U is-at-least - -_rev() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c+[]: :(always ansi auto never)' \ -'--color=[]: :(always ansi auto never)' \ -'-v[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'--verbose[Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_rev_commands] )) || -_rev_commands() { - local commands; commands=() - _describe -t commands 'rev commands' commands "$@" -} - -_rev "$@" diff --git a/pkg/usr/share/zsh/site-functions/_rm b/pkg/usr/share/zsh/site-functions/_rm deleted file mode 100644 index 5a22243..0000000 --- a/pkg/usr/share/zsh/site-functions/_rm +++ /dev/null @@ -1,42 +0,0 @@ -#compdef rm - -autoload -U is-at-least - -_rm() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'--interactive=[when to prompt]' \ -'-i[prompt before every removal]' \ -'-I[prompt once before removing more than three files, or when removing recursively; -less intrusive than -i, while still giving protection against most mistakes]' \ -'-f[ignore nonexistent files and arguments, never prompt]' \ -'--force[ignore nonexistent files and arguments, never prompt]' \ -'-R[operate on files and directories recursively]' \ -'--recursive[operate on files and directories recursively]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:_files' \ -&& ret=0 -} - -(( $+functions[_rm_commands] )) || -_rm_commands() { - local commands; commands=() - _describe -t commands 'rm commands' commands "$@" -} - -_rm "$@" diff --git a/pkg/usr/share/zsh/site-functions/_rmdir b/pkg/usr/share/zsh/site-functions/_rmdir deleted file mode 100644 index 3d9c5e2..0000000 --- a/pkg/usr/share/zsh/site-functions/_rmdir +++ /dev/null @@ -1,36 +0,0 @@ -#compdef rmdir - -autoload -U is-at-least - -_rmdir() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-p[remove DIRECTORY and it'\''s ancestors]' \ -'--parents[remove DIRECTORY and it'\''s ancestors]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::dir:_files -/' \ -&& ret=0 -} - -(( $+functions[_rmdir_commands] )) || -_rmdir_commands() { - local commands; commands=() - _describe -t commands 'rmdir commands' commands "$@" -} - -_rmdir "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sha1sum b/pkg/usr/share/zsh/site-functions/_sha1sum deleted file mode 100644 index 1404ee2..0000000 --- a/pkg/usr/share/zsh/site-functions/_sha1sum +++ /dev/null @@ -1,34 +0,0 @@ -#compdef sha1sum - -autoload -U is-at-least - -_sha1sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_sha1sum_commands] )) || -_sha1sum_commands() { - local commands; commands=() - _describe -t commands 'sha1sum commands' commands "$@" -} - -_sha1sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sha224sum b/pkg/usr/share/zsh/site-functions/_sha224sum deleted file mode 100644 index fa56165..0000000 --- a/pkg/usr/share/zsh/site-functions/_sha224sum +++ /dev/null @@ -1,34 +0,0 @@ -#compdef sha224sum - -autoload -U is-at-least - -_sha224sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_sha224sum_commands] )) || -_sha224sum_commands() { - local commands; commands=() - _describe -t commands 'sha224sum commands' commands "$@" -} - -_sha224sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sha256sum b/pkg/usr/share/zsh/site-functions/_sha256sum deleted file mode 100644 index 0649c7f..0000000 --- a/pkg/usr/share/zsh/site-functions/_sha256sum +++ /dev/null @@ -1,34 +0,0 @@ -#compdef sha256sum - -autoload -U is-at-least - -_sha256sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_sha256sum_commands] )) || -_sha256sum_commands() { - local commands; commands=() - _describe -t commands 'sha256sum commands' commands "$@" -} - -_sha256sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sha384sum b/pkg/usr/share/zsh/site-functions/_sha384sum deleted file mode 100644 index f967c78..0000000 --- a/pkg/usr/share/zsh/site-functions/_sha384sum +++ /dev/null @@ -1,34 +0,0 @@ -#compdef sha384sum - -autoload -U is-at-least - -_sha384sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_sha384sum_commands] )) || -_sha384sum_commands() { - local commands; commands=() - _describe -t commands 'sha384sum commands' commands "$@" -} - -_sha384sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sha512sum b/pkg/usr/share/zsh/site-functions/_sha512sum deleted file mode 100644 index 60bc519..0000000 --- a/pkg/usr/share/zsh/site-functions/_sha512sum +++ /dev/null @@ -1,34 +0,0 @@ -#compdef sha512sum - -autoload -U is-at-least - -_sha512sum() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[read checksums from the FILEs and check them]' \ -'--check[read checksums from the FILEs and check them]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_sha512sum_commands] )) || -_sha512sum_commands() { - local commands; commands=() - _describe -t commands 'sha512sum commands' commands "$@" -} - -_sha512sum "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sleep b/pkg/usr/share/zsh/site-functions/_sleep deleted file mode 100644 index ffdbaa4..0000000 --- a/pkg/usr/share/zsh/site-functions/_sleep +++ /dev/null @@ -1,30 +0,0 @@ -#compdef sleep - -autoload -U is-at-least - -_sleep() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -':seconds -- The number of seconds to sleep:' \ -&& ret=0 -} - -(( $+functions[_sleep_commands] )) || -_sleep_commands() { - local commands; commands=() - _describe -t commands 'sleep commands' commands "$@" -} - -_sleep "$@" diff --git a/pkg/usr/share/zsh/site-functions/_swaplabel b/pkg/usr/share/zsh/site-functions/_swaplabel deleted file mode 100644 index 7cb30ac..0000000 --- a/pkg/usr/share/zsh/site-functions/_swaplabel +++ /dev/null @@ -1,35 +0,0 @@ -#compdef swaplabel - -autoload -U is-at-least - -_swaplabel() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-L+[set the label]: : ' \ -'-l+[set the label]: : ' \ -'--label=[set the label]: : ' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':device:' \ -&& ret=0 -} - -(( $+functions[_swaplabel_commands] )) || -_swaplabel_commands() { - local commands; commands=() - _describe -t commands 'swaplabel commands' commands "$@" -} - -_swaplabel "$@" diff --git a/pkg/usr/share/zsh/site-functions/_swapoff b/pkg/usr/share/zsh/site-functions/_swapoff deleted file mode 100644 index d024059..0000000 --- a/pkg/usr/share/zsh/site-functions/_swapoff +++ /dev/null @@ -1,36 +0,0 @@ -#compdef swapoff - -autoload -U is-at-least - -_swapoff() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-a[Disable swapping on all known swap devices and files as found in /etc/fstab.]' \ -'--all[Disable swapping on all known swap devices and files as found in /etc/fstab.]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::device:' \ -&& ret=0 -} - -(( $+functions[_swapoff_commands] )) || -_swapoff_commands() { - local commands; commands=() - _describe -t commands 'swapoff commands' commands "$@" -} - -_swapoff "$@" diff --git a/pkg/usr/share/zsh/site-functions/_sync b/pkg/usr/share/zsh/site-functions/_sync deleted file mode 100644 index 5069896..0000000 --- a/pkg/usr/share/zsh/site-functions/_sync +++ /dev/null @@ -1,36 +0,0 @@ -#compdef sync - -autoload -U is-at-least - -_sync() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'(-f --file-system)-d[sync only file data, no unneeded metadata]' \ -'(-f --file-system)--data[sync only file data, no unneeded metadata]' \ -'-f[sync the file systems that contain the files]' \ -'--file-system[sync the file systems that contain the files]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::FILE -- If one or more files are specified, sync only them, or their containing file systems.:' \ -&& ret=0 -} - -(( $+functions[_sync_commands] )) || -_sync_commands() { - local commands; commands=() - _describe -t commands 'sync commands' commands "$@" -} - -_sync "$@" diff --git a/pkg/usr/share/zsh/site-functions/_true b/pkg/usr/share/zsh/site-functions/_true deleted file mode 100644 index afecbc4..0000000 --- a/pkg/usr/share/zsh/site-functions/_true +++ /dev/null @@ -1,29 +0,0 @@ -#compdef true - -autoload -U is-at-least - -_true() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -&& ret=0 -} - -(( $+functions[_true_commands] )) || -_true_commands() { - local commands; commands=() - _describe -t commands 'true commands' commands "$@" -} - -_true "$@" diff --git a/pkg/usr/share/zsh/site-functions/_umount b/pkg/usr/share/zsh/site-functions/_umount deleted file mode 100644 index dadf455..0000000 --- a/pkg/usr/share/zsh/site-functions/_umount +++ /dev/null @@ -1,43 +0,0 @@ -#compdef umount - -autoload -U is-at-least - -_umount() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-t+[Indicate that the actions should only be taken on filesystems of the specified type.]:type: ' \ -'--types=[Indicate that the actions should only be taken on filesystems of the specified type.]:type: ' \ -'-a[All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.]' \ -'--all[All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.]' \ -'-f[Force an unmount (in case of an unreachable NFS system).]' \ -'--force[Force an unmount (in case of an unreachable NFS system).]' \ -'-l[Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.]' \ -'--lazy[Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.]' \ -'-n[Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::spec:_files' \ -&& ret=0 -} - -(( $+functions[_umount_commands] )) || -_umount_commands() { - local commands; commands=() - _describe -t commands 'umount commands' commands "$@" -} - -_umount "$@" diff --git a/pkg/usr/share/zsh/site-functions/_unlink b/pkg/usr/share/zsh/site-functions/_unlink deleted file mode 100644 index bd34610..0000000 --- a/pkg/usr/share/zsh/site-functions/_unlink +++ /dev/null @@ -1,34 +0,0 @@ -#compdef unlink - -autoload -U is-at-least - -_unlink() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::file:' \ -&& ret=0 -} - -(( $+functions[_unlink_commands] )) || -_unlink_commands() { - local commands; commands=() - _describe -t commands 'unlink commands' commands "$@" -} - -_unlink "$@" diff --git a/pkg/usr/share/zsh/site-functions/_utilbox b/pkg/usr/share/zsh/site-functions/_utilbox deleted file mode 100644 index 661c623..0000000 --- a/pkg/usr/share/zsh/site-functions/_utilbox +++ /dev/null @@ -1,477 +0,0 @@ -#compdef utilbox - -autoload -U is-at-least - -_utilbox() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -":: :_utilbox_commands" \ -"*::: :->utilbox" \ -&& ret=0 - case $state in - (utilbox) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:utilbox-command-$line[1]:" - case $line[1] in - (bootstrap) -_arguments "${_arguments_options[@]}" \ -'-p+[The directory path under which to install]: : ' \ -'--prefix=[The directory path under which to install]: : ' \ -'-u[Use /usr]' \ -'--usr[Use /usr]' \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -":: :_utilbox__bootstrap_commands" \ -"*::: :->bootstrap" \ -&& ret=0 - - case $state in - (bootstrap) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:utilbox-bootstrap-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'(-b --bash -f --fish -n --nu -p --pwsh -z --zsh)-a[Install completions for all supported shells]' \ -'(-b --bash -f --fish -n --nu -p --pwsh -z --zsh)--all[Install completions for all supported shells]' \ -'-b[Bash shell completions]' \ -'--bash[Bash shell completions]' \ -'-f[Fish shell completions]' \ -'--fish[Fish shell completions]' \ -'-n[Nushell completions]' \ -'--nu[Nushell completions]' \ -'-p[PowerShell completions]' \ -'--pwsh[PowerShell completions]' \ -'-z[Zshell completions]' \ -'--zsh[Zshell completions]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -'-s[Install soft links instead of hardlinks]' \ -'--soft[Install soft links instead of hardlinks]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -'-a[Install completions for all supported shells]' \ -'--all[Install completions for all supported shells]' \ -'-b[Bash shell completions]' \ -'--bash[Bash shell completions]' \ -'-f[Fish shell completions]' \ -'--fish[Fish shell completions]' \ -'-n[Nushell completions]' \ -'--nu[Nushell completions]' \ -'-p[PowerShell completions]' \ -'--pwsh[PowerShell completions]' \ -'-z[Zshell completions]' \ -'--zsh[Zshell completions]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_utilbox__bootstrap__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:utilbox-bootstrap-help-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -;; -(clear) -_arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -&& ret=0 -;; -(mountpoint) -_arguments "${_arguments_options[@]}" \ -'-d[Show the major/minor numbers of the device that is mounted on the given directory.]' \ -'--fs-devno[Show the major/minor numbers of the device that is mounted on the given directory.]' \ -'(-d --fs-devno)-x[Show the major/minor numbers of the given blockdevice on standard output.]' \ -'(-d --fs-devno)--devno[Show the major/minor numbers of the given blockdevice on standard output.]' \ -'-q[Be quiet - don’t print anything.]' \ -'--quiet[Be quiet - don’t print anything.]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':file:' \ -&& ret=0 -;; -(swaplabel) -_arguments "${_arguments_options[@]}" \ -'-L+[set the label]: : ' \ -'-l+[set the label]: : ' \ -'--label=[set the label]: : ' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -':device:' \ -&& ret=0 -;; -(swapoff) -_arguments "${_arguments_options[@]}" \ -'-a[Disable swapping on all known swap devices and files as found in /etc/fstab.]' \ -'--all[Disable swapping on all known swap devices and files as found in /etc/fstab.]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::device:' \ -&& ret=0 -;; -(umount) -_arguments "${_arguments_options[@]}" \ -'-t+[Indicate that the actions should only be taken on filesystems of the specified type.]:type: ' \ -'--types=[Indicate that the actions should only be taken on filesystems of the specified type.]:type: ' \ -'-a[All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.]' \ -'--all[All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.]' \ -'-f[Force an unmount (in case of an unreachable NFS system).]' \ -'--force[Force an unmount (in case of an unreachable NFS system).]' \ -'-l[Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.]' \ -'--lazy[Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.]' \ -'-n[Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.]' \ -'-v[output a diagnostic for every file processed]' \ -'--verbose[output a diagnostic for every file processed]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::spec:_files' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_utilbox__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:utilbox-help-command-$line[1]:" - case $line[1] in - (bootstrap) -_arguments "${_arguments_options[@]}" \ -":: :_utilbox__help__bootstrap_commands" \ -"*::: :->bootstrap" \ -&& ret=0 - - case $state in - (bootstrap) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:utilbox-help-bootstrap-command-$line[1]:" - case $line[1] in - (all) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(links) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(manpages) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(completions) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; -(clear) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(mountpoint) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(swaplabel) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(swapoff) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(umount) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -} - -(( $+functions[_utilbox_commands] )) || -_utilbox_commands() { - local commands; commands=( -'bootstrap:Install shitbox into the filesystem' \ -'clear:clear the terminal'\''s screen' \ -'mountpoint:see if a directory or file is a mountpoint' \ -'swaplabel:set the label of a swap filesystem' \ -'swapoff:disable devices and files for paging and swapping' \ -'umount:unmount filesystems' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'utilbox commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__all_commands] )) || -_utilbox__bootstrap__all_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap all commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__help__all_commands] )) || -_utilbox__bootstrap__help__all_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap help all commands' commands "$@" -} -(( $+functions[_utilbox__help__bootstrap__all_commands] )) || -_utilbox__help__bootstrap__all_commands() { - local commands; commands=() - _describe -t commands 'utilbox help bootstrap all commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap_commands] )) || -_utilbox__bootstrap_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'utilbox bootstrap commands' commands "$@" -} -(( $+functions[_utilbox__help__bootstrap_commands] )) || -_utilbox__help__bootstrap_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ - ) - _describe -t commands 'utilbox help bootstrap commands' commands "$@" -} -(( $+functions[_utilbox__clear_commands] )) || -_utilbox__clear_commands() { - local commands; commands=() - _describe -t commands 'utilbox clear commands' commands "$@" -} -(( $+functions[_utilbox__help__clear_commands] )) || -_utilbox__help__clear_commands() { - local commands; commands=() - _describe -t commands 'utilbox help clear commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__completions_commands] )) || -_utilbox__bootstrap__completions_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap completions commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__help__completions_commands] )) || -_utilbox__bootstrap__help__completions_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap help completions commands' commands "$@" -} -(( $+functions[_utilbox__help__bootstrap__completions_commands] )) || -_utilbox__help__bootstrap__completions_commands() { - local commands; commands=() - _describe -t commands 'utilbox help bootstrap completions commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__help_commands] )) || -_utilbox__bootstrap__help_commands() { - local commands; commands=( -'all:Install everything' \ -'links:Install links for each applet' \ -'manpages:Install Unix man pages' \ -'completions:Install shell completions' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'utilbox bootstrap help commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__help__help_commands] )) || -_utilbox__bootstrap__help__help_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap help help commands' commands "$@" -} -(( $+functions[_utilbox__help_commands] )) || -_utilbox__help_commands() { - local commands; commands=( -'bootstrap:Install shitbox into the filesystem' \ -'clear:clear the terminal'\''s screen' \ -'mountpoint:see if a directory or file is a mountpoint' \ -'swaplabel:set the label of a swap filesystem' \ -'swapoff:disable devices and files for paging and swapping' \ -'umount:unmount filesystems' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'utilbox help commands' commands "$@" -} -(( $+functions[_utilbox__help__help_commands] )) || -_utilbox__help__help_commands() { - local commands; commands=() - _describe -t commands 'utilbox help help commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__help__links_commands] )) || -_utilbox__bootstrap__help__links_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap help links commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__links_commands] )) || -_utilbox__bootstrap__links_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap links commands' commands "$@" -} -(( $+functions[_utilbox__help__bootstrap__links_commands] )) || -_utilbox__help__bootstrap__links_commands() { - local commands; commands=() - _describe -t commands 'utilbox help bootstrap links commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__help__manpages_commands] )) || -_utilbox__bootstrap__help__manpages_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap help manpages commands' commands "$@" -} -(( $+functions[_utilbox__bootstrap__manpages_commands] )) || -_utilbox__bootstrap__manpages_commands() { - local commands; commands=() - _describe -t commands 'utilbox bootstrap manpages commands' commands "$@" -} -(( $+functions[_utilbox__help__bootstrap__manpages_commands] )) || -_utilbox__help__bootstrap__manpages_commands() { - local commands; commands=() - _describe -t commands 'utilbox help bootstrap manpages commands' commands "$@" -} -(( $+functions[_utilbox__help__mountpoint_commands] )) || -_utilbox__help__mountpoint_commands() { - local commands; commands=() - _describe -t commands 'utilbox help mountpoint commands' commands "$@" -} -(( $+functions[_utilbox__mountpoint_commands] )) || -_utilbox__mountpoint_commands() { - local commands; commands=() - _describe -t commands 'utilbox mountpoint commands' commands "$@" -} -(( $+functions[_utilbox__help__swaplabel_commands] )) || -_utilbox__help__swaplabel_commands() { - local commands; commands=() - _describe -t commands 'utilbox help swaplabel commands' commands "$@" -} -(( $+functions[_utilbox__swaplabel_commands] )) || -_utilbox__swaplabel_commands() { - local commands; commands=() - _describe -t commands 'utilbox swaplabel commands' commands "$@" -} -(( $+functions[_utilbox__help__swapoff_commands] )) || -_utilbox__help__swapoff_commands() { - local commands; commands=() - _describe -t commands 'utilbox help swapoff commands' commands "$@" -} -(( $+functions[_utilbox__swapoff_commands] )) || -_utilbox__swapoff_commands() { - local commands; commands=() - _describe -t commands 'utilbox swapoff commands' commands "$@" -} -(( $+functions[_utilbox__help__umount_commands] )) || -_utilbox__help__umount_commands() { - local commands; commands=() - _describe -t commands 'utilbox help umount commands' commands "$@" -} -(( $+functions[_utilbox__umount_commands] )) || -_utilbox__umount_commands() { - local commands; commands=() - _describe -t commands 'utilbox umount commands' commands "$@" -} - -_utilbox "$@" diff --git a/pkg/usr/share/zsh/site-functions/_wc b/pkg/usr/share/zsh/site-functions/_wc deleted file mode 100644 index 94b9da6..0000000 --- a/pkg/usr/share/zsh/site-functions/_wc +++ /dev/null @@ -1,42 +0,0 @@ -#compdef wc - -autoload -U is-at-least - -_wc() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-c[Print the byte counts]' \ -'--bytes[Print the byte counts]' \ -'-m[Print the character counts]' \ -'--chars[Print the character counts]' \ -'-l[Print the line counts]' \ -'--lines[Print the line counts]' \ -'-L[Print the maximum display width]' \ -'--max-line-length[Print the maximum display width]' \ -'-w[Print the word counts]' \ -'--words[Print the word counts]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::INPUT -- The input file to use:' \ -&& ret=0 -} - -(( $+functions[_wc_commands] )) || -_wc_commands() { - local commands; commands=() - _describe -t commands 'wc commands' commands "$@" -} - -_wc "$@" diff --git a/pkg/usr/share/zsh/site-functions/_which b/pkg/usr/share/zsh/site-functions/_which deleted file mode 100644 index cb1faa1..0000000 --- a/pkg/usr/share/zsh/site-functions/_which +++ /dev/null @@ -1,32 +0,0 @@ -#compdef which - -autoload -U is-at-least - -_which() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'-V[Print version]' \ -'--version[Print version]' \ -'*::COMMAND:' \ -&& ret=0 -} - -(( $+functions[_which_commands] )) || -_which_commands() { - local commands; commands=() - _describe -t commands 'which commands' commands "$@" -} - -_which "$@" diff --git a/pkg/usr/share/zsh/site-functions/_whoami b/pkg/usr/share/zsh/site-functions/_whoami deleted file mode 100644 index 07e55e5..0000000 --- a/pkg/usr/share/zsh/site-functions/_whoami +++ /dev/null @@ -1,29 +0,0 @@ -#compdef whoami - -autoload -U is-at-least - -_whoami() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -} - -(( $+functions[_whoami_commands] )) || -_whoami_commands() { - local commands; commands=() - _describe -t commands 'whoami commands' commands "$@" -} - -_whoami "$@" diff --git a/pkg/usr/share/zsh/site-functions/_yes b/pkg/usr/share/zsh/site-functions/_yes deleted file mode 100644 index c5929c7..0000000 --- a/pkg/usr/share/zsh/site-functions/_yes +++ /dev/null @@ -1,30 +0,0 @@ -#compdef yes - -autoload -U is-at-least - -_yes() { - typeset -A opt_args - typeset -a _arguments_options - local ret=1 - - if is-at-least 5.2; then - _arguments_options=(-s -S -C) - else - _arguments_options=(-s -C) - fi - - local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ -'-h[Print help]' \ -'--help[Print help]' \ -'::msg:' \ -&& ret=0 -} - -(( $+functions[_yes_commands] )) || -_yes_commands() { - local commands; commands=() - _describe -t commands 'yes commands' commands "$@" -} - -_yes "$@" diff --git a/src/lib.rs b/src/lib.rs index 50fac36..01b6360 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,9 +53,7 @@ pub fn progname() -> Option { #[must_use] pub fn progpath() -> Option { match progname() { - Some(s) if s == "corebox" => env::args().next().map(PathBuf::from), - Some(s) if s == "hashbox" => env::args().next().map(PathBuf::from), - Some(s) if s == "utilbox" => env::args().next().map(PathBuf::from), + Some(s) if s == "shitbox" => env::args().next().map(PathBuf::from), _ => None, } } diff --git a/utilbox/commands/bootstrap/mod.rs b/utilbox/commands/bootstrap/mod.rs deleted file mode 100644 index 2901191..0000000 --- a/utilbox/commands/bootstrap/mod.rs +++ /dev/null @@ -1,397 +0,0 @@ -use super::{Cmd, COMMANDS}; -use clap::{Arg, ArgAction, ArgMatches, Command}; -use clap_complete::{generate_to, shells}; -use clap_complete_nushell::Nushell; -use clap_mangen::Man; -use std::{ - error::Error, - fs, io, - os::unix::fs::symlink, - path::{Path, PathBuf}, -}; - -#[derive(Debug, Default)] -pub struct Bootstrap; - -impl Bootstrap { - fn all() -> clap::Command { - Command::new("all").about("Install everything").args([ - Arg::new("soft") - .help("Install soft links instead of hardlinks") - .short('s') - .long("soft") - .action(ArgAction::SetTrue), - Arg::new("all") - .help("Install completions for all supported shells") - .short('a') - .long("all") - .conflicts_with_all(["bash", "fish", "nu", "pwsh", "zsh"]) - .action(ArgAction::SetTrue), - Arg::new("bash") - .help("Bash shell completions") - .short('b') - .long("bash") - .action(ArgAction::SetTrue), - Arg::new("fish") - .help("Fish shell completions") - .short('f') - .long("fish") - .action(ArgAction::SetTrue), - Arg::new("nu") - .help("Nushell completions") - .short('n') - .long("nu") - .action(ArgAction::SetTrue), - Arg::new("pwsh") - .help("PowerShell completions") - .short('p') - .long("pwsh") - .action(ArgAction::SetTrue), - Arg::new("zsh") - .help("Zshell completions") - .short('z') - .long("zsh") - .action(ArgAction::SetTrue), - ]) - } - - fn links() -> clap::Command { - Command::new("links") - .about("Install links for each applet") - .arg( - Arg::new("soft") - .help("Install soft links instead of hardlinks") - .short('s') - .long("soft") - .action(ArgAction::SetTrue), - ) - } - - fn manpages() -> clap::Command { - Command::new("manpages") - .about("Install Unix man pages") - .alias("man") - } - - fn completions() -> clap::Command { - Command::new("completions") - .about("Install shell completions") - .alias("comp") - .args([ - Arg::new("all") - .help("Install completions for all supported shells") - .short('a') - .long("all") - .exclusive(true) - .action(ArgAction::SetTrue), - Arg::new("bash") - .help("Bash shell completions") - .short('b') - .long("bash") - .action(ArgAction::SetTrue), - Arg::new("fish") - .help("Fish shell completions") - .short('f') - .long("fish") - .action(ArgAction::SetTrue), - Arg::new("nu") - .help("Nushell completions") - .short('n') - .long("nu") - .action(ArgAction::SetTrue), - Arg::new("pwsh") - .help("PowerShell completions") - .short('p') - .long("pwsh") - .action(ArgAction::SetTrue), - Arg::new("zsh") - .help("Zshell completions") - .short('z') - .long("zsh") - .action(ArgAction::SetTrue), - ]) - } -} - -impl Cmd for Bootstrap { - fn cli(&self) -> clap::Command { - Command::new("bootstrap") - .version(env!("CARGO_PKG_VERSION")) - .author("Nathan Fisher") - .about("Install shitbox into the filesystem") - .long_about("Install symlinks, manpages and shell completions") - .args([ - Arg::new("prefix") - .help("The directory path under which to install") - .short('p') - .long("prefix") - .num_args(1) - .default_value("/") - .required(false), - Arg::new("usr") - .help("Use /usr") - .long_help( - "Split the installation so that some applets go into /bin | /sbin\n\ - while others are placed into /usr/bin | /usr/sbin", - ) - .short('u') - .long("usr") - .action(ArgAction::SetTrue), - Arg::new("soft") - .help("Install soft links instead of hardlinks") - .short('s') - .long("soft") - .action(ArgAction::SetTrue), - ]) - .subcommands([ - Self::all(), - Self::links(), - Self::manpages(), - Self::completions(), - ]) - } - - fn run(&self, matches: &ArgMatches) -> Result<(), Box> { - if let Some(prefix) = matches.get_one::("prefix") { - let usr = matches.get_flag("usr"); - if let Some(progpath) = shitbox::progpath() { - let mut outpath = PathBuf::from(prefix); - outpath.push("bin"); - println!("Installing binary:"); - if !outpath.exists() { - fs::create_dir_all(&outpath)?; - println!(" mkdir: {}", outpath.display()); - } - outpath.push(&shitbox::progname().unwrap()); - fs::copy(&progpath, &outpath)?; - println!( - " install: {} -> {}", - progpath.display(), - outpath.display() - ); - } - match matches.subcommand() { - Some(("links", matches)) => { - links(prefix, usr, matches)?; - } - Some(("manpages", _matches)) => { - manpages(prefix, usr)?; - } - Some(("completions", matches)) => { - completions(prefix, matches, usr)?; - } - Some(("all", matches)) => { - links(prefix, usr, matches)?; - manpages(prefix, usr)?; - completions(prefix, matches, usr)?; - } - _ => {} - } - } - Ok(()) - } - - fn path(&self) -> Option { - None - } -} - -#[allow(clippy::module_name_repetitions)] -pub trait BootstrapCmd { - fn completion(&self, outdir: &Path, gen: &str) -> Result<(), io::Error>; - fn linkpath(&self, prefix: &str, usr: bool) -> Option; - fn link(&self, prefix: &str, usr: bool, soft: bool) -> Result<(), Box>; - fn manpage(&self, prefix: &str, usr: bool) -> Result<(), io::Error>; -} - -impl BootstrapCmd for dyn Cmd { - fn completion(&self, outdir: &Path, gen: &str) -> Result<(), io::Error> { - let cmd = self.cli(); - let name = cmd.get_name(); - let mut cmd = self.cli(); - if !outdir.exists() { - fs::create_dir_all(outdir)?; - } - let path = match gen { - "bash" => generate_to(shells::Bash, &mut cmd, name, outdir)?, - "fish" => generate_to(shells::Fish, &mut cmd, name, outdir)?, - "nu" => generate_to(Nushell, &mut cmd, name, outdir)?, - "pwsh" => generate_to(shells::PowerShell, &mut cmd, name, outdir)?, - "zsh" => generate_to(shells::Zsh, &mut cmd, name, outdir)?, - _ => unimplemented!(), - }; - println!(" {}", path.display()); - Ok(()) - } - - fn linkpath(&self, prefix: &str, usr: bool) -> Option { - let mut path = PathBuf::from(prefix); - let binpath = self.path(); - match binpath { - Some(p) => path.push(p.to_str(usr)), - None => return None, - } - path.push(self.cli().get_name()); - Some(path) - } - - fn link(&self, prefix: &str, usr: bool, soft: bool) -> Result<(), Box> { - if let Some(linkpath) = self.linkpath(prefix, usr) { - let progname = shitbox::progname().unwrap(); - if soft { - let binpath = match self.path().unwrap() { - shitbox::Path::Bin => progname, - shitbox::Path::Sbin => format!("../bin/{progname}"), - shitbox::Path::UsrBin => { - if usr { - format!("../../bin/{progname}") - } else { - progname - } - } - shitbox::Path::UsrSbin => { - if usr { - format!("../../bin/{progname}") - } else { - format!("../bin/{progname}") - } - } - }; - symlink(&binpath, &linkpath)?; - println!(" symlink: {binpath} -> {}", linkpath.display()); - } else { - let mut binpath = PathBuf::from(prefix); - binpath.push("bin"); - binpath.push(env!("CARGO_PKG_NAME")); - println!("Generating link for {}", self.cli().get_name()); - fs::hard_link(&binpath, &linkpath)?; - println!(" link: {} -> {}", binpath.display(), linkpath.display()); - } - } - Ok(()) - } - - fn manpage(&self, prefix: &str, usr: bool) -> Result<(), io::Error> { - let command = self.cli(); - let fname = match command.get_name() { - "bootstrap" => format!("{}-bootstrap.1", shitbox::progname().unwrap()), - s => format!("{s}.1"), - }; - let outdir: PathBuf = if usr { - [prefix, "usr", "share", "man", "man1"].iter().collect() - } else { - [prefix, "share", "man", "man1"].iter().collect() - }; - if !outdir.exists() { - fs::create_dir_all(&outdir)?; - } - let mut outfile = outdir; - outfile.push(fname); - let man = Man::new(command); - let mut buffer: Vec = vec![]; - man.render(&mut buffer)?; - fs::write(&outfile, buffer)?; - println!(" {}", outfile.display()); - Ok(()) - } -} - -fn manpages(prefix: &str, usr: bool) -> Result<(), io::Error> { - println!("Generating Unix man pages:"); - COMMANDS - .iter() - .try_for_each(|cmd| super::get(cmd).unwrap().manpage(prefix, usr))?; - Ok(()) -} - -fn completions(prefix: &str, matches: &ArgMatches, usr: bool) -> Result<(), io::Error> { - println!("Generating completions:"); - let basedir: PathBuf = if usr { - [prefix, "usr", "share"].iter().collect() - } else { - [prefix, "share"].iter().collect() - }; - if matches.get_flag("bash") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("bash-completion"); - outdir.push("completion"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "bash") - })?; - } - if matches.get_flag("fish") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("fish"); - outdir.push("completions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "fish") - })?; - } - if matches.get_flag("nu") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("nu"); - outdir.push("completions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "nu") - })?; - } - if matches.get_flag("pwsh") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("pwsh"); - outdir.push("completions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "pwsh") - })?; - } - if matches.get_flag("zsh") || matches.get_flag("all") { - let mut outdir = basedir.clone(); - outdir.push("zsh"); - outdir.push("site-functions"); - COMMANDS.iter().try_for_each(|cmd| { - let cmd = super::get(cmd).unwrap(); - cmd.completion(&outdir, "zsh") - })?; - } - Ok(()) -} - -fn links(prefix: &str, usr: bool, cmd: &ArgMatches) -> Result<(), Box> { - println!("Generating links:"); - let mut binpath = PathBuf::from(prefix); - binpath.push("bin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - binpath.pop(); - binpath.push("sbin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - if usr { - binpath.pop(); - binpath.push("usr"); - binpath.push("bin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - binpath.pop(); - binpath.push("sbin"); - if !binpath.exists() { - fs::create_dir_all(&binpath)?; - println!(" mkdir: {}", binpath.display()); - } - } - let soft = cmd.get_flag("soft"); - COMMANDS.iter().try_for_each(|c| { - let cmd = super::get(c).unwrap(); - cmd.link(prefix, usr, soft) - })?; - Ok(()) -} diff --git a/utilbox/commands/mod.rs b/utilbox/commands/mod.rs index 89ab2ff..35d573a 100644 --- a/utilbox/commands/mod.rs +++ b/utilbox/commands/mod.rs @@ -1,7 +1,6 @@ use shitbox::Cmd; mod blkid; -mod bootstrap; mod clear; mod mount; mod mountpoint; @@ -16,7 +15,6 @@ mod utilbox; #[allow(clippy::box_default)] pub fn get(name: &str) -> Option> { match name { - "bootstrap" => Some(Box::new(bootstrap::Bootstrap::default())), "clear" => Some(Box::new(clear::Clear::default())), "mountpoint" => Some(Box::new(mountpoint::Mountpoint::default())), "swaplabel" => Some(Box::new(swaplabel::Swaplabel::default())), @@ -27,8 +25,7 @@ pub fn get(name: &str) -> Option> { } } -pub static COMMANDS: [&str; 7] = [ - "bootstrap", +pub static COMMANDS: [&str; 6] = [ "clear", "mountpoint", "swaplabel",