Skip to content

New Command Idea: Env #803

Open

Description

@josephwhite

Since default environment variables for Zoxide vary across platforms and require some type of processing in Rust, it would be beneficial to add a command to reflect what the environment variables look like after processing.

An new command to stdout the functions in config.rs could also provide a different angle when debugging config issues.

~ > zoxide env --help

Display environment variable solves.

Usage:
   zoxide env <VAR>

Arguments:
   <VAR>  [possible values: _ZO_DATA_DIR, _ZO_ECHO, _ZO_EXCLUDE_DIRS, _ZO_FZF_OPTS, _ZO_MAXAGE, _ZO_RESOLVE_SYMLINKS]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions