Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profile: Added comments and a finally functioning profile loader. #4

Closed
wants to merge 1 commit into from

Commits on Apr 29, 2021

  1. profile: Added comments and a finally functioning profile loader.

    This first version is really basic. It just loads a profile based on the
    command name located in ~/.config/file_<cmd>.ll.
    
    The file format is also very basic, it is essentially just like dotenv
    files: a succession of environment variable declaration. The only thing
    "smart" about it for now is that it merges them before passing them to
    the sandboxer.
    
    Note: I included code in the comments much like for a normal crate.
    However, it seems like code in the comments of examples are not
    currently being executed anywhere: rust-lang/cargo#4508
    vdagonneau committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    9504c31 View commit details
    Browse the repository at this point in the history