Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Utilities

    envstore 2.1

    Download button

    No screenshots available
    Downloads: 734  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Maximilian G. | More programs
    MIT/X Consortium Lic... / FREE
    June 23rd, 2010, 14:31 GMT [view history]
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    envstore description

    Allows you to save environment variables into a separate store, list them and reload them into the shell again.

    envstore is a simple tool that allows you to save environment variables into a separate store, list them and reload them into the shell again.

    Usage:

    envstore - save and restore environment variables

        envstore COMMAND [ARG]

    Commands:

        show        List saved variables in human-readable format
        eval        Generate shell code to set the variables
        save        Save a variable
        rm          Delete a variable
        clear       Clear out the stored variable

    History

    When I started using CAAP, I added the current track to my window manager's status bar. Obviously, CAAP would need to the MPD_HOST variable set from somewhere. You can't really interfere with the environment of a running application, except if the application itself allows for it.

    So instead of hacking environment stuff into XMonad, I created something more generic: envstore. It allows you to save exported environment variables and load them again:

    Example use

    $ envstore save FOO
    FOO does not exist in environment
    $ export FOO=bar
    $ envstore save FOO


    (in another shell:)

    $ envstore show
    FOO       bar
    1 entries
    $ envstore eval -e
    export FOO=bar
    $ eval $(envstore eval -e)


    FOO now exists in the environment.

    I have envstore started from my zshrc, so if I set MPD_HOST, I will have it in every new shell and can easily use mpc.


    Product's homepage

    What's New in This Release: [ read full changelog ]

    · This version fixes a space handling bug in envify.
    · It also adds support for the --help and --version options.

      


    TAGS:

    save environment variables | save variables | environment | variables | saver

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM