https://github.com/clayrisser/eternal-utils
Eternally persist exported environment variables, aliases and sources
https://github.com/clayrisser/eternal-utils
alias eternal export linux permenant unalias unix unset util
Last synced: about 1 year ago
JSON representation
Eternally persist exported environment variables, aliases and sources
- Host: GitHub
- URL: https://github.com/clayrisser/eternal-utils
- Owner: clayrisser
- License: mit
- Created: 2018-06-06T07:49:25.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T09:56:03.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T19:40:41.230Z (about 1 year ago)
- Topics: alias, eternal, export, linux, permenant, unalias, unix, unset, util
- Language: C
- Homepage: https://codejam.ninja
- Size: 489 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# eternal-utils
[](https://github.com/codejamninja/eternal-utils)
> 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
```sh
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
```sh
sudo add-apt-repository ppa:codejamninja/jam-os
sudo apt-get update
sudo apt-get install eternal-utils
```
#### Compile from source
```sh
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
```sh
eternal-export HELLO=world
```
### Eternal unset
```sh
eternal-unset HELLO
```
### Eternal alias
```sh
eternal-alias hello="echo world"
```
### Eternal unalias
```sh
eternal-unalias hello
```
### Eternal source
```sh
eternal-source ~/.hello.sh
```
### Eternal unsource
```sh
eternal-unsource ~/.hello.sh
```
## Support
Submit an [issue](https://github.com/codejamninja/eternal-utils/issues/new)
## Contributing
Review the [guidelines for contributing](https://github.com/codejamninja/eternal-utils/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://github.com/codejamninja/eternal-utils/blob/master/LICENSE)
[Jam Risser](https://codejam.ninja) © 2018
## Changelog
Review the [changelog](https://github.com/codejamninja/eternal-utils/blob/master/CHANGELOG.md)
## Credits
* [Jam Risser](https://codejam.ninja) - Author
## Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
[Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going!
[](https://liberapay.com/codejamninja/donate)
[](https://liberapay.com/codejamninja/donate)