Skip to content

Eternally persist exported environment variables, aliases and sources

License

Notifications You must be signed in to change notification settings

clayrisser/eternal-utils

Repository files navigation

eternal-utils

GitHub stars

Eternally persist exported environment variables and aliases

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Persist environment variables eternally
  • Persist aliases eternally
  • Persist sources eternally
  • Remove persisted environment variables
  • Remove persisted aliases
  • Remove persisted sources
  • Compatible with bash
  • Compatible with zsh

Installation

Mac OS X

Compile from source

brew install glib make
curl -LO \
  https://github.com/codejamninja/eternal-utils/releases/download/0.2.1/eternal-utils_0.2.1.tar.gz
tar -xzvf eternal-utils_0.2.1.tar.gz
cd eternal-utils
./configure
make
sudo make install

Ubuntu Linux

APT package manager

sudo add-apt-repository ppa:codejamninja/jam-os
sudo apt-get update
sudo apt-get install eternal-utils

Compile from source

sudo apt-get install -y libglib2.0-dev build-essential make
curl -LO \
  https://github.com/codejamninja/eternal-utils/releases/download/0.2.1/eternal-utils_0.2.1.tar.gz
tar -xzvf eternal-utils_0.2.1.tar.gz
cd eternal-utils
./configure
make
sudo make install

Usage

Eternal export

eternal-export HELLO=world

Eternal unset

eternal-unset HELLO

Eternal alias

eternal-alias hello="echo world"

Eternal unalias

eternal-unalias hello

Eternal source

eternal-source ~/.hello.sh

Eternal unsource

eternal-unsource ~/.hello.sh

Support

Submit an issue

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons

Releases

No releases published

Packages

No packages published