id = "zoxide" name = "zoxide" description = "A smarter cd command that remembers which directories you use most." homepage = "https://github.com/ajeetdsouza/zoxide" executables = ["zoxide"] [commands] format = 1 label = "zoxide" description = "Search, add and remove directories in the zoxide database. Import and shell init are left out." quality = "ai-draft" base = "fig:zoxide" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts" license = "MIT" [[commands.subcommand]] path = ["query"] label = "Search directories" description = "Search the database for a directory matching the keywords." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts" license = "MIT" [[commands.subcommand.field]] id = "keywords" label = "Keywords" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "list" label = "List all matches" type = "boolean" option = ["--list", "-l"] sources = ["fig"] [[commands.subcommand.field]] id = "score" label = "Print scores" type = "boolean" option = ["--score", "-s"] sources = ["fig"] [[commands.subcommand.field]] id = "interactive" label = "Interactive selection" type = "boolean" option = ["--interactive", "-i"] sources = ["fig"] [[commands.subcommand.field]] id = "exclude" label = "Exclude path" type = "path" option = ["--exclude"] path = { kind = "directory" } sources = ["fig"] [[commands.subcommand.task]] id = "find" label = "Find best match" fields = ["keywords"] required = ["keywords"] [[commands.subcommand.task]] id = "list" label = "List matches with scores" fields = ["keywords", "list", "score"] required = ["keywords"] set = { list = [true], score = [true] } [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["keywords", "list", "score"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["interactive", "exclude"] [[commands.subcommand]] path = ["add"] label = "Add directories" description = "Add directories to the database or increment their rank." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts" license = "MIT" [[commands.subcommand.field]] id = "paths" label = "Directories" type = "path" position = 0 multiple = true path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.task]] id = "add" label = "Add directories" fields = ["paths"] required = ["paths"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["paths"] [[commands.subcommand]] path = ["remove"] label = "Remove directory" description = "Remove a directory from the database." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/zoxide.ts" license = "MIT" [[commands.subcommand.field]] id = "paths" label = "Directory" type = "path" position = 0 path = { kind = "directory", role = "input" } effect = "delete" sources = ["fig"] [[commands.subcommand.field]] id = "interactive" label = "Interactive selection" type = "boolean" option = ["--interactive", "-i"] sources = ["fig"] [[commands.subcommand.task]] id = "remove" label = "Remove directory" fields = ["paths"] required = ["paths"] [[commands.subcommand.task]] id = "pick" label = "Pick interactively" fields = ["interactive"] required = ["interactive"] set = { interactive = [true] } [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["paths", "interactive"]